#Get direction to plane

1 messages · Page 1 of 1 (latest)

sick raven
#

I need to figure out a way to calculate a plane in front of an object and then apply a grid with coordinates in it.

Then trace a direction vector from that object towards each position of the grid.

The grid is 15 nodes tall and 20 wide.

If the object rotates, the plane has to move to align itself with it.

cinder brook
#

Do you need help with the grid making or the plane points where all you know is plane normal position and vector position and direction

sick raven
cinder brook
#

Alright so you’ll subtract the position of the plane by the position of the object

#

Then you’ll dot that vector with the plane normal

#

And divide that value by the vector dot value of the normal of the plane with the object direction

#

That value will be your distance to the point so then just scale the object direction by the distance and add to object position

sonic sluice
#

You got the card of Thrice Great

sick raven
# mental hull Camera 🥱

more like a distance-map think, but ye, ya can use it for that too :D

i'm trying to make the game LIDAR on RR

mental hull
sick raven
mental hull
plucky marlin
#

🤦

mental hull
plucky marlin
#

He taught me abt so much