A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by jiandingzhe » Sat Jul 09, 2011 6:59 am
I'm trying to make an RTS game. In my game, there will have lots of vessels and turrets.
I don't want to control those units by force and torque, because the control law will be very difficult. Instead, I want to have control of moving speed and rotation speed directly.
I still want to use the dynamics solver, not only the collision solver. Because when two object collides, I can know the relative speed of the collision pair.
Does Newton allow me to do this? How can I do it?
Thanks a lot!
-

jiandingzhe
-
- Posts: 48
- Joined: Fri Jul 08, 2011 11:21 am
- Location: Beijing
by JernejL » Sat Jul 09, 2011 2:10 pm
You can set the velocity directly or use a joint to achieve any kind of complex movement like you describe.
-

JernejL
-
- Posts: 1587
- Joined: Mon Dec 06, 2004 2:00 pm
- Location: Slovenia
-
by jiandingzhe » Sat Jul 09, 2011 8:48 pm
JernejL wrote:You can set the velocity directly or use a joint to achieve any kind of complex movement like you describe.
Where are the documents for the joints library (CustomXXX) provided with newton?
-

jiandingzhe
-
- Posts: 48
- Joined: Fri Jul 08, 2011 11:21 am
- Location: Beijing
by JernejL » Sun Jul 10, 2011 5:53 am
I never dealt with the joint library, so i don't know if it even has any documentation.. julio maybe knows more :s
-

JernejL
-
- Posts: 1587
- Joined: Mon Dec 06, 2004 2:00 pm
- Location: Slovenia
-
by jiandingzhe » Sun Jul 10, 2011 10:19 am
JernejL wrote:You can set the velocity directly or use a joint to achieve any kind of complex movement like you describe.
When shall I set the velocity and angular velocity safely? Just set them before calling NewtonUpdate?
-

jiandingzhe
-
- Posts: 48
- Joined: Fri Jul 08, 2011 11:21 am
- Location: Beijing
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 3 guests