Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 01:55:09 am
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)XPal and the return of the forgotten method addTorque
Pages: [1]
Print
Author Topic: XPal and the return of the forgotten method addTorque  (Read 753 times)
sisso
Just dropped in

Offline Offline

Posts: 21


View Profile
« on: 02. November 2007, 10:34:30 pm »

Hi All,

I´m starting to migrate physic from one application from joode to xpal (with joode Tongue) and I look that Body don´t have a method to addTorque. There is some reason for this or only becouse no one need this until I?

There one way to workaround this without change the source of Body and JoodeBody?

Other thing, what you think to put with the third party libraries the sources? Other option is when you update some jar add to svn the comment the revision that you use to build that jar.

Thanks, how Borat say:
"Xith3d is nicee......"
Logged
sisso
Just dropped in

Offline Offline

Posts: 21


View Profile
« Reply #1 on: 02. November 2007, 11:14:14 pm »

I think this is not a good implementation for getLinearVelocity at JoodeBody Tongue. This method are returning angular velocity instead velocity.

Code:
    @Override
    public Vector3f getLinearVelocity() {
       
        if(tmpVec3f == null) { tmpVec3f = new Vector3f(); }
        Convert.toXith(body.getAngularVel(), tmpVec3f);
        return tmpVec3f;
       
    }
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #2 on: 03. November 2007, 08:20:12 am »

All fixed.

Thanks a million for the reports, keep up the good feedback.

And good luck with your app, may we have a chance to beta-test / see screenshots, something like that ?
Logged
sisso
Just dropped in

Offline Offline

Posts: 21


View Profile
« Reply #3 on: 03. November 2007, 02:35:10 pm »

yes, I would like so.... but I have the problem to start a lot of things at same time and finish nothing, so nothing good to show, only good ideas (I think Tongue).

Now I´m trying to fixed in only one project, and sure, if I has something that to show I will post here.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic