Center of Mass and forces

Waves



Are forces always applied to center of mass - or coordinates relative to that? Even if center of mass isn't at 0,0,0, a force to 0,1,0 at 0,0,0 results in the object rising steadily. This can be seen by adding


Welcome to the forums :slight_smile:


Wace said:

Are forces always applied to center of mass - or coordinates relative to that?

That's right. I've added that info to the JavaDoc of the addForce methods.

Wace said:

ask how much performance loss joints+separate dynamic nodes are when compared to a single dynamic node with displaced forces?

sorry no idea how that could be quantified
irrisor said:

Welcome to the forums :)

Thanks! :)

irrisor said:

sorry no idea how that could be quantified

Thanks anyway! I'm assuming the 5 physics nodes attached with joints -is- at least a bit heavier at least, unless ODE does some optimizations and considers it more or less same object if the joints have no degrees of freedom. So going with one object should be easier on cpu in that aspect.