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.

Author
Message
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 2nd Feb 2011 04:16 Edited at: 2nd Feb 2011 04:18
Hello world.
I need some "haaalllppp pl0x!!!?!?!?" with my program here, the spheres are supposed to be created at my character position and then fired at his rotation at a given speed then the dynamic body will be created, adding physics.

The problem I have is, whenever i press the key (shift, keystate 42) the spheres spawn in a completely different position, they work from there but they dont spawn where i want them to. What did I do wrong?




Always program as if the person maintaining your program is a psychopath that knows where you live
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 2nd Feb 2011 16:37
got something going but it needs some work on getting the fire to be the same direction you are facing.

have a look you may see what you might need to do.




Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-03-29 15:53:45
Your offset time is: 2024-03-29 15:53:45