A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Gernot » Wed Aug 06, 2008 10:57 am
Hi,
I'm trying to create platforms that have a straight path which they will follow up/down or left/right.
How would I move such an object? The problem is: What if other objects block the movement? Has anyone ever done that, yet?
I'm asking because of my game "CogWork", which should be something like "Little Big Planet".
See what I need:
http://www.youtube.com/watch?v=cz0p1L52oEIFrom time 4:50 to 5:10
-
Gernot
-
- Posts: 10
- Joined: Sat Nov 04, 2006 5:54 pm
- Location: Germany
-
by Yezide » Mon Aug 11, 2008 4:56 am
Simple solution is to use static (mass=0) bodies and then setting position and velocity directly.
Harder solution is to use joints and then using spring and/or pid controller to control the movement.
-
Yezide
-
- Posts: 173
- Joined: Tue Oct 18, 2005 4:31 am
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 6 guests