Functions in header (Newton.h) missing implementation

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Functions in header (Newton.h) missing implementation

Postby lperkins2 » Sun Sep 30, 2018 10:26 pm

So there are a number of functions defined in sdk/dgNewton/Newton.h which have no implementation. If they are unused or deprecated, they should be removed. Otherwise, they should be implemented somewhere.

The list of forward declared functions missing implementations follows.
  • NewtonHingeGetJointAngle
  • NewtonHingeCalculateStopAlpha
  • NewtonHingeGetJointOmega
  • NewtonHingeGetJointForce
  • NewtonConstraintCreateHinge
lperkins2
 
Posts: 39
Joined: Fri Jul 03, 2015 4:16 am

Re: Functions in header (Newton.h) missing implementation

Postby Julio Jerez » Mon Oct 01, 2018 10:57 am

use the dCustomJoint library
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Functions in header (Newton.h) missing implementation

Postby MeltingPlastic » Mon Oct 01, 2018 1:18 pm

Question: can the old joint api be removed from the repo? Seems like going forward the CustomJointApi is the way to go.
MeltingPlastic
 
Posts: 237
Joined: Fri Feb 07, 2014 11:30 pm

Re: Functions in header (Newton.h) missing implementation

Postby Julio Jerez » Mon Oct 01, 2018 2:13 pm

ok, I will remove next weekend
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Functions in header (Newton.h) missing implementation

Postby JernejL » Tue Oct 02, 2018 7:31 am

NewtonConstraintCreateBall would be removed too?

yes, are you using those joints?

I do not want to remove it just yes because believe or not ther are lot of changes to support that.
beside I still planning to add some special joint for soft body as destruction at some point.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Functions in header (Newton.h) missing implementation

Postby JernejL » Tue Oct 02, 2018 9:02 am

I think you mistakenly edited post instead of quoting it :)

I'm still using one ball and socket joint but you can freely remove it, i'm just asking to be able to plan better to when i sync to latest newton agaion, i will rewrite the code that uses ball & socket joint.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 5 guests