Align object

Blitz3D Forums/Blitz3D Programming/Align object

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.

EDIT : I GO IT. THANKS ROB
COULD YOU TELL ME WHY THIS ISNT WORKING

If EntityCollided(CAR(AC),1) Then
AlignToVector car(ac),CollisionNX(CAR(AC),1),0,CollisionNZ(CAR(AC),1),1,.01
AlignToVector car(ac),CollisionNX(CAR(AC),1),0,CollisionNZ(CAR(AC),1),3,.01
EndIf

CAR DOES FINE ON FLATS.. on a slope it wants to turn all the way over 90 degrees, so that its facing straight down.. slope is only about 30-45 degrees, after that it doesnt recover.