Hi,
I was wondering if it's possible to get an entity from a vector, e.g. a crate.
Thanks![]()
Solved Get entity from position
Discussion in 'Rust Development' started by DJZelda®, Jul 10, 2015.
-
Try this
For Lua:
Code:local position = (entity:GetEstimatedWorldPosition())
Code:var position = (entity.GetEstimatedWorldPosition());
-
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? :/
-
Check unity docs (raycast, spherecast)
-
Awesome, thanks for this