Search found 7 matches

by cc9cii
Thu Jan 21, 2021 11:23 am
Forum: General Bullet Physics Support and Feedback
Topic: inertia vector from inertia tensor matrix
Replies: 5
Views: 2158

Re: inertia vector from inertia tensor matrix

Thank you both. I can't say I fully understand it all, but I will go study it and will also try it out.
by cc9cii
Tue Jan 19, 2021 9:55 pm
Forum: General Bullet Physics Support and Feedback
Topic: inertia vector from inertia tensor matrix
Replies: 5
Views: 2158

Re: inertia vector from inertia tensor matrix

Hi, Thanks for your response. However I would like to understand a little bit more about this - what does this vector represent? Is it the axis of rotation for this rigid body? Also, I can't be certain that all the NIF models will have similar inertia tensor matrices (i.e. non-zero values only in th...
by cc9cii
Tue Jan 19, 2021 3:36 am
Forum: General Bullet Physics Support and Feedback
Topic: inertia vector from inertia tensor matrix
Replies: 5
Views: 2158

inertia vector from inertia tensor matrix

Hi, I've posted this question to the pybullet sub forum by mistake and have now moved it here. Sorry about that. I am trying to use btRigidBody::setMassProps() where the second parameter inertia is a btVector3. Now, I have the rigid body description from a NIF file with an inertia tensor matrix (giv...
by cc9cii
Wed Jan 16, 2019 7:35 pm
Forum: General Bullet Physics Support and Feedback
Topic: compound collisoin shape position inside btRigidBody
Replies: 2
Views: 1489

Re: compound collisoin shape position inside btRigidBody

Hello, thanks for picking that up. With that typo fixed both the shapes appear in the same place (in the demo). That begs the question if the actual code has a similar typo... time to investigate EDIT: just wanted to update that I did find the offending part of the code - thanks again for alerting m...
by cc9cii
Wed Jan 16, 2019 7:16 am
Forum: General Bullet Physics Support and Feedback
Topic: compound collisoin shape position inside btRigidBody
Replies: 2
Views: 1489

compound collisoin shape position inside btRigidBody

Hello, need your help again please. Background: I'm working on a game engine that has to work with existing data. (just in case it is relevant - this game originally used Havok) There is no real option to modify the source data. I have reduced the problem down so it can be demonstrated (I used one o...
by cc9cii
Sun Dec 25, 2016 12:48 am
Forum: General Bullet Physics Support and Feedback
Topic: Beginner help request on constraints
Replies: 2
Views: 2534

Re: Beginner help request on constraints

EDIT: Changed the joint pivot points after I posted below, works better now (made them further apart). I've updated the code below, so the behaviour shown in the video won't occur with below code EDIT2: removed the code from below since it is no longer relevant (or correct) Created the same object ...
by cc9cii
Sat Dec 24, 2016 10:23 am
Forum: General Bullet Physics Support and Feedback
Topic: Beginner help request on constraints
Replies: 2
Views: 2534

Beginner help request on constraints

I've run into a strange behaviour that I can't figure out and would like some help please - since I'm new to Bullet I'm certain I've done something wrong, but where to start investigating? What I have is a static box and a number of capsules (chain) and another box (lamp) - basically a ragdoll. Thes...