CentreofMassOffset
CentreofMassOffset
Hi I like to clarify difference in centreOfMass vs centreOfMassOffset? My impression of centreofMassOffset is a offset which we can use for graphics to offset the physics when graphics centre is not the same as centre of mass. I set the centreOfMassOffset but it does not seem that.
Re: CentreofMassOffset
The centerOfMassOffset is the displacement vector from the geometric center of the collision shape to the center of mass. Setting the offset will not move the collision shape; it will only set the property.
By changing the offset, the location around which the entity rotates is changed. This can be used as another tool to make an object feel top heavy or with an otherwise odd weight distribution (as opposed to modifying the inertia tensor).
By changing the offset, the location around which the entity rotates is changed. This can be used as another tool to make an object feel top heavy or with an otherwise odd weight distribution (as opposed to modifying the inertia tensor).
Re: CentreofMassOffset
I see. What I was thinking was like PhysX localPose, where we can move the where the centerposition means relative to the entity. Example, for a box, we move so it's centerposition is means the bottom of the box instead of centre of the box.