A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by kasimir » Tue Jan 27, 2009 11:45 am
Hi, i am completely new with Newton,
and i want to know, how can i apply forces with an offset to the models origin?
I want to write the penumbra-interaction-code by myself and the object should be moved at the clicked Position, not the center of the object!
F.e. if i click on one end of a lader the dragging-force should only work on this end! (and not on the center)
Hope this is quite easy?!
THX Kasimir
-
kasimir
-
- Posts: 3
- Joined: Thu Dec 25, 2008 12:52 pm
by agi_shi » Tue Jan 27, 2009 12:02 pm
-
agi_shi
-
- Posts: 263
- Joined: Fri Aug 17, 2007 6:54 pm
by kasimir » Tue Jan 27, 2009 12:46 pm
thx, but i cannnot find function called "NewtonAddForce" or "NewtonAddTorque" ???
or do you mean CrossProduct - function?!
this line: "R = Point â BodyMatrix.Position;"
is not displayed the right way! what should this mean?
Thx
-
kasimir
-
- Posts: 3
- Joined: Thu Dec 25, 2008 12:52 pm
by Julio Jerez » Tue Jan 27, 2009 2:02 pm
you can try the custom pick body joint, it solve all those problems?
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by kasimir » Wed Jan 28, 2009 9:29 am
"custom pick body joint" ??? i did'nt found anything about this....
but if i use "NewtonConstraintCreateUniversal" and set the parrent body to zero, how can i apply forces to this joint?
-
kasimir
-
- Posts: 3
- Joined: Thu Dec 25, 2008 12:52 pm
by agi_shi » Wed Jan 28, 2009 12:27 pm
The new joint is in the latest SDK.
-
agi_shi
-
- Posts: 263
- Joined: Fri Aug 17, 2007 6:54 pm
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 10 guests