Jump to content

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


Zaklinatel

Recommended Posts

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...