Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: setLinearVelocity
PostPosted: Thu Jun 18, 2009 8:27 am 
Offline

Joined: Thu Sep 04, 2008 4:17 am
Posts: 9
Hi, I'm putting more checks in my code, and wanted to know the effect on a btRigidBody that has its CF_KINEMATIC_OBJECT or CF_STATIC_OBJECT flag raised?

Should I be not allowing a call to setLinearVelocity on rigidBodies that have those flags set?

Does linearvelocity, mass, inertialtensors, and all the rest only apply to dynamic rigidbodies?


Top
 Profile  
 
 Post subject: Re: setLinearVelocity
PostPosted: Fri Jun 19, 2009 6:19 am 
Offline

Joined: Thu Sep 04, 2008 4:17 am
Posts: 9
sorry wrong thread.

Shall I create another elsewhere?


Top
 Profile  
 
 Post subject: Re: setLinearVelocity
PostPosted: Thu Oct 27, 2011 3:05 pm 
Offline

Joined: Tue Apr 26, 2011 5:52 pm
Posts: 31
russellbartley wrote:
Hi, I'm putting more checks in my code, and wanted to know the effect on a btRigidBody that has its CF_KINEMATIC_OBJECT or CF_STATIC_OBJECT flag raised?

Should I be not allowing a call to setLinearVelocity on rigidBodies that have those flags set?

Does linearvelocity, mass, inertialtensors, and all the rest only apply to dynamic rigidbodies?


As far as i know, yes, velocity , forces, mass and inertia all only relates to dynamic bodies.

A static body is meant to be static, meaning it will never move.

A kinematic body is meant to be moved manually and then stay in place where you place it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group