• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

[help] Get block that player are looking at from server side

Zaklinatel

New member
Hello all!

Any idea how is possible to get block that player are looking at on server side mod?

I can get player's look ray (Player::GetLookRay()) and look vector, but I need to know which block the player is currently looking.

Is there a way to trace a ray through the World and get nearest intersection with a block?

p.s.

sorry for errors

 
Last edited by a moderator:
Back
Top