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 / How do i make some balls rotate with/on a rotating platform ?

Author
Message
Vector ScOpE
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: middle world UK
Posted: 22nd Nov 2005 07:41
i want to use ODE later to make the balls move off the platform but in the meantime i need the platform to rotate with the balls sitting on top would i use limbs comands for this ?

Thanks
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 23rd Nov 2005 20:21
no , just use the rotate command .

http://dodica.proboards75.com/index.cgi
first 20 are mods. i have 9 sofar.
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 25th Nov 2005 15:31
Once again, providing us with the best help possible, I give you Dodic.

Quote: "no , just use the rotate command ."


What's he supposed to get from that? Nothing.

Anyways, I've not done this before but here's a theoretical routine:

-Create a plain for the ground
-Create a sphere for a ...sphere.

- Constantly rotate the user on the x axis to be equal with the plain's rotation
- Constantly move the user forward

-Add 4 lims to the plain, one in each corner
- Check which limb is the lowest

-If the user is above the lowest limb

-Find the user's Y angle
-If the user is facing to the right (get this by using the y angle)
-Then rotate the user more to the right at an increasing rate
-Do the same but to the left if they're facing more left
-Send out an intersection ray to detect if the user is facing the lowest limb
-If so stop rotating the user on the x axis


This is done assuming you have a collision system to stop the user from falling through the plain.

Hope it helps, I might try this out now that I've come up with a theory myself

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 25th Nov 2005 19:00
you might wanna use trig (newxvalue, newyvalue and newzvalue commands) to change the position depending on where the platform is.

MMORPG programs
19
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 26th Nov 2005 03:58
the only thing i can think of is 1st make limbs fron the center of the rotating box/platform, offset the limb where you want and place a ball on the end of each limb

There are only two types of people. The ones that agree with me and the ones that are wrong
Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 26th Nov 2005 05:23
Or just make the balls the limbs instead of making limbs and objects just so you can place objects at the limbs.



Login to post a reply

Server time is: 2024-11-27 12:21:49
Your offset time is: 2024-11-27 12:21:49