Need to turn upon collision

Blitz3D Forums/Blitz3D Programming/Need to turn upon collision

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.

I have an entity moving toward a wall. When the object hits the wall, I need for it to turn so that it will be perpendicular to the wall regardless of the angle of incidence.

The object is constantly moving forward on its own local z axis always.