Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Physics Question

Author
Message
Alien Menace
AGK Developer
19
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Earth (just visiting)
Posted: 28th Aug 2011 11:01
Hello,

Wondering if somebody could tell me how to apply an impulse to a rotated sprite so that it moves in the direction it is pointing? How do you calculate where the impulse is suppose to originate from?

Thanks

Intel Core Duo2 Quad Q9550 @2.8 GHz - Asus P5N-D - 2x 1GB PNY GeForce GTX 460 OC SLI - 8GB RAM - Creative X-FI - Windows 7 64-bit. iPad1 16GB 3GS, iPad2 32GB WiFi, iPhone 3GS, iPhone 4
Doz
16
Years of Service
User Offline
Joined: 16th Apr 2008
Location:
Posted: 28th Aug 2011 21:43
I took out some of my variable names but this is what works for me


Don't want to give you everything I did, but I will tell you I ended up tweaking the velocity values for x and y differently.

Login to post a reply

Server time is: 2024-04-18 09:08:56
Your offset time is: 2024-04-18 09:08:56