A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Aphex » Sat Feb 27, 2010 12:23 pm
Hi all,
Not been here for a while... I just got SDK 2.14 and it appears the multibody vehicle has been removed - can anyone confirm that at all?
cheers,
Martin
-
Aphex
-
- Posts: 144
- Joined: Fri Jun 18, 2004 6:08 am
- Location: UK
-
by Dave Gravel » Sat Feb 27, 2010 1:37 pm
Why 2.14 and not 2.16 ?
Anyway, normally the multibody is present on all version.
I have follow pretty much all version and the multibody is present in.
Just it don't have official demo.
Last edited by
Dave Gravel on Mon Mar 01, 2010 1:36 am, edited 1 time in total.
-

Dave Gravel
-
- Posts: 808
- Joined: Sat Apr 01, 2006 9:31 pm
- Location: Quebec in Canada.
-
by PJani » Sat Feb 27, 2010 3:21 pm
You need to use multibody vehicle from jointlibrary!
| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
-

PJani
-
- Posts: 448
- Joined: Mon Feb 02, 2009 7:18 pm
- Location: Slovenia
by Aphex » Sat Feb 27, 2010 4:48 pm
Hmm... I open up the jointlibrary header file and see the multibodyVehicle interface commented out (and there is no CustomJoint class any more - maybe migrated to UserJoint?) Maybe the method of using it has changed since I last got the sdk - it's been a while

// JOINTLIBRARY_API NewtonUserJoint *CreateCustomMultiBodyVehicle (const dFloat* frontDir, const dFloat* upDir, const NewtonBody* carBody);
-
Aphex
-
- Posts: 144
- Joined: Fri Jun 18, 2004 6:08 am
- Location: UK
-
by PJani » Sat Feb 27, 2010 8:20 pm
hmm
that JointLibrary.h is c interface if i am not wrong.
You need to look in CustomMultiBodyVehicle.h you include it directly. I am very sure it its and it works, because i am using it, bit modified, to create body wheels outside.

| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
-

PJani
-
- Posts: 448
- Joined: Mon Feb 02, 2009 7:18 pm
- Location: Slovenia
by Aphex » Mon Mar 01, 2010 9:47 am
Interesting - I used it through that main header last time. I'll give the MultiBodyVehicle header a try...
-
Aphex
-
- Posts: 144
- Joined: Fri Jun 18, 2004 6:08 am
- Location: UK
-
by Aphex » Tue Mar 02, 2010 5:27 pm
Argh not this again! I remember having this problem a while ago. Including CustomMultiBodyVehicle.h pulls in the whole of Newton's math lib and everything else, which is unacceptable for me

Are there plans to return the interface to JointLibrary.h?
-
Aphex
-
- Posts: 144
- Joined: Fri Jun 18, 2004 6:08 am
- Location: UK
-
by Julio Jerez » Tue Mar 02, 2010 6:34 pm
but the math libray is only few files. I need to have tool to write the code.
You not really need to use it, you can just derive a class from it and do the conversion to your own class.
if you check the c interface of the Joint library, it is typeless, you cna hiode all teh Neton SDK math stuff the same way.
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Aphex » Sat Mar 06, 2010 6:45 am
Well I just uncommented the interface in JointLibrary for now and it seems to work ok

-
Aphex
-
- Posts: 144
- Joined: Fri Jun 18, 2004 6:08 am
- Location: UK
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 406 guests