#Getting the Normal of the next face in a part
1 messages · Page 1 of 1 (latest)
Two solutions I can think of:
- Shoot some rays from behind the player at an angle to detect neighboring faces
- Define a spline of some kind along all the climbable edges in the game and use that to determine what's to either side of the character
how about this
similar to @abstract surge 's first idea, but instead of shooting a ray at an angle you just increment more to the right, then shoot a ray forward until you find a surface with a different normal vector
blue being the player, red dotted line to show distance behind player, green for rays