Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | SF123 |
Is there any way to detect which side of the block that the player is looking at by using a RayCast
? My block has 6 faces, all with their unique name (eg. Top, Bottom, etc.)
Could you not compare the point of collision with the location of the block?
exuin | 2022-05-19 20:20
I ended up just using a RayCast
, and detecting + rounding the position using the get_collision_point()
method.
SF123 | 2022-05-19 21:22