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
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 9th Mar 2005 02:39
i need help with a bounceing command so when the object falls from a platform it bounces up and keeps lowering its hight

Jbolt
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 9th Mar 2005 05:38
Is the bounceback always verticle or does it have to respond to the angle of the surface it hits ?
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 9th Mar 2005 08:14
i dont have any thing for a bounce command by the way im using DBPro with the Nuculat Glory dll

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 9th Mar 2005 08:15
it depends on the angle u hit it at thats what i want

Jbolt
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 10th Mar 2005 03:12
Well in that case how i normaly do it is store the balls x,y,z speeds in a vector and store the normal of the face you collided with in another vector, then I use thid function which i wrote to reflect to first vector.


Was that a bit heavy i can try and explain it better if you want ?
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 10th Mar 2005 10:17
i tried the code and it is not working can u think of anything else? Thanks!

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 10th Mar 2005 10:18
By the way the colision is all in one not spilt into peices

Jbolt
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 11th Mar 2005 02:17
The code is just a function to reflect a vecor, you use it to help making the bounce...but i dont understand what you mean by " By the way the colision is all in one not spilt into peices"
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 11th Mar 2005 03:09 Edited at: 12th Mar 2005 01:24
it means the collision is set for the whole level in one instead of broken into more then one peice of level.

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 12th Mar 2005 01:26 Edited at: 12th Mar 2005 01:26
lol

Jbolt
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 12th Mar 2005 03:40
Is this the kind of thing you mean?



If it is, let me know if you want me to explain it.


Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 12th Mar 2005 20:49
yeah that works well but which part of it should i put in my code

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 12th Mar 2005 21:00
how would i do this using nuclual glory

Jbolt
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 12th Mar 2005 21:15
You really don't need a physics wrapper to make an object bounce. This is the bit of the code that does it:




Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 12th Mar 2005 21:18
it is not a physics wrapper it is a collision dll

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 12th Mar 2005 21:22 Edited at: 12th Mar 2005 21:35
i need some more help

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 12th Mar 2005 21:25
youll have to get the nuclar glory stuff to run it though her is all my Media in this download able file

email me for them i can not put them all in one my email is jbolts1@comcast.net

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 12th Mar 2005 21:26
better yet ill email you

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 12th Mar 2005 21:34
never mind

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 12th Mar 2005 21:34
i still need help with bounceing

Jbolt
Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 13th Mar 2005 07:55 Edited at: 13th Mar 2005 07:56
ghhhhhh

Jbolt
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 13th Mar 2005 09:54
I don't use wrappers, dll's etc. so I can't help you with them. Really, though, I can't see how the bounce code above could be causing you so much problem. You're just reversing the vertical speed of the object when it hits the ground by multiplying it by -1. Or, to get it to lose some of its speed when it bounces, multiply by -0.8. It's that simple.


Jbolts1
19
Years of Service
User Offline
Joined: 1st Jan 2005
Location:
Posted: 13th Mar 2005 11:19
i do not know what i would put for the if command

Login to post a reply

Server time is: 2024-11-13 20:09:52
Your offset time is: 2024-11-13 20:09:52