Solved Get entity from position

Discussion in 'Rust Development' started by DJZelda®, Jul 10, 2015.

  1. Hi,

    I was wondering if it's possible to get an entity from a vector, e.g. a crate.

    Thanks :)
     
  2. Try this

    For Lua:
    Code:
    local position = (entity:GetEstimatedWorldPosition())
    
    C#
    Code:
    var position = (entity.GetEstimatedWorldPosition());
    
     
  3. Thanks but this isn't actually what I'm looking for :3, however I should have been more clear with my post, what I want is to get an entity from a position, so I already have the vector, is that possible? :/
     
  4. Awesome, thanks for this :D