Getting a angle for an entity relative to a surface normal it has collided with?

Blitz3D Forums/Blitz3D Programming/Getting a angle for an entity relative to a surface normal it has collided with?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

try using the values from either

tformvector collx,colly,collz,1,car,0 or

tformvector collx,colly,collz,1,0,car

iirc one of these will report values relative to the car. So hitting head on will always return 1/ positive z value etc