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.

Newcomers DBPro Corner / Can anyone explain why this doesn't work?

Author
Message
Levanthus
21
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 4th May 2010 16:24
I can't understand why this isn't working, when i press the direction keys the ball moves but doesn't rotate.


However i have this bit of code

which is more or less exactly the same controls as the top bit of coding, and it all workds fine on it's own...

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 4th May 2010 17:55 Edited at: 4th May 2010 17:55
Hi there. Time ago, I made something like that. I hope it can help.

cheers.



I'm not a grumpy grandpa
Levanthus
21
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 5th May 2010 12:50 Edited at: 9th May 2010 00:07
Thanks but that doesn't really solve my problem unfortunatley, now the ball doesn't move or rotate at all, i get the feeling it's something to do with collision or something, if i make the same thing but take out gravity and use simple collision instead of sparly's it seems to work fine

*EDIT 08/may/2010*
Ok so it ALMOST works now, so far i have this:-


However the object turns on the spot and doesn't move around the level at all and i still can't figure out why....

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.

Login to post a reply

Server time is: 2024-11-23 17:12:54
Your offset time is: 2024-11-23 17:12:54