Correcting directional_velocity

Talk about making games.

Correcting directional_velocity

Postby game_mate » Thu May 11, 2006 3:52 am

we have created a catapult that's angle and directional_velocity is determined by two different slider bars. it works well, but it's yvelocity is inconsistant. What could be doing this? and who can i fix it. Note my drawactor of projectile is set to yvelocity+.90.
game_mate
 
Posts: 16
Joined: Sat Dec 11, 2004 2:37 am
Score: 0 Give a positive score

Postby BeyondtheTech » Thu May 11, 2006 4:18 am

From what I remember, directional_velocity must be used with angle variable.
xvelocity/yvelocity will cancel out the directional_velocity.
User avatar
BeyondtheTech
 
Posts: 270
Joined: Wed Mar 30, 2005 6:34 am
Location: Edison, NJ
Score: 4 Give a positive score

Postby game_mate » Thu May 11, 2006 8:49 pm

thanx. i solved the problem, it was due to motion compansation, for some reason it was making the velocity of the perjectile different each launch.
game_mate
 
Posts: 16
Joined: Sat Dec 11, 2004 2:37 am
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest