diretional_velocity and angle

Ideas for Game Editor evolution.

diretional_velocity and angle

Postby jazz_e_bob » Mon Apr 25, 2005 8:58 am

Setting diretional_velocity to 0 should NOT reset actors angle to 0.

The angle value should remain the same.

8)

Image
Real world example: Although the leaning tower of Pisa is stationary it's angle remains at 80 degrees! :wink:
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby makslane » Tue Apr 26, 2005 7:13 pm

The angle is calculated via xvelocity and yvelocity if the actor has no path. So, if velocity is zero, the angle is indeterminated.

If the actor has a path, the angle will be the path angle in the current location.

If you need remember the angle after velocity change, you can store in other variable.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Tue Apr 26, 2005 9:20 pm

Ah! I see.

OK.

:)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest