Search found 3 matches

by none06
Wed Jul 21, 2021 7:14 pm
Forum: General Bullet Physics Support and Feedback
Topic: [HELP] move a mesh from rigidBody position
Replies: 4
Views: 3878

Re: [HELP] move a mesh from rigidBody position

Thank you for your help. But I think that my problem does not come from that. I just figured out that, when i move my mesh, the bounding box and the mesh does not get "separated", but as soon as I move the camera, the offset appear. Even if I move just a little the cam, the mesh position a...
by none06
Sun Jul 11, 2021 1:37 pm
Forum: General Bullet Physics Support and Feedback
Topic: [HELP] move a mesh from rigidBody position
Replies: 4
Views: 3878

Re: [HELP] move a mesh from rigidBody position

Thank you for your responce. For the position, it's the start position of my Mesh, so lets say that i want to draw my mesh at (5, 12, 5), I need to multiply the vertices to get my mesh translated. After that, i need to multiply the center by 2, otherwise the boudingbox will not be centered in the mi...
by none06
Wed Jul 07, 2021 9:46 pm
Forum: General Bullet Physics Support and Feedback
Topic: [HELP] move a mesh from rigidBody position
Replies: 4
Views: 3878

[HELP] move a mesh from rigidBody position

Hello ! I am having trouble moving my mesh from my rigidbody's position. It looks like there is an offset and i can't find how to calculate it. For exemple: My mesh is at (3.0, 2.0, 4.0) But the rigidbody's transform is(9.0, 8.5, 12.0) (My mesh size is 5) Here is how i create my ridigBody: const std...