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 / I have a problem

Author
Message
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 13th Jul 2005 08:34 Edited at: 14th Jul 2005 06:02
I'm tying to program some physics but anytime i let the program run the sphere goes through the plain.
sorry don't download! heres the code. Also I want to move the object down based upon the varible [edit] I have a another problem, when I wrote this



Don't mess with spiderman!

Attachments

Login to view attachments
Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 13th Jul 2005 09:02 Edited at: 13th Jul 2005 09:03
you have to actually check for collision within the main loop and stop the sphere if collision is detected.

BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 13th Jul 2005 10:42
try adding this to your main loop

it isn't the best way but it usually works. Try it and then fix whatever's wrong.(I would suggest using a box rather than a plain because there is more to collide with and you get better results)
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 13th Jul 2005 19:44
Or turn the object's automatic collision on though I prefer the manual method.



Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 14th Jul 2005 04:00 Edited at: 14th Jul 2005 06:00
thank you lost in thought! sorry newbie I tried your code but theprogram said that their something wrong with the brachet.

Don't mess with spiderman!
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 15th Jul 2005 05:37
hello I have another problem! when I wrote this at the end of the program it won't move up

please someone help me!

Don't mess with spiderman!
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 15th Jul 2005 23:53
Do you have DBC maybe? DBC doesn't know that command.

Immunity and Annihalation makes Immunihalation...
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 16th Jul 2005 04:49 Edited at: 17th Jul 2005 08:40
I have dark pro [edit] still can anyone help?

Don't mess with spiderman!

Login to post a reply

Server time is: 2024-11-27 22:37:28
Your offset time is: 2024-11-27 22:37:28