Hi All,
As usual, I’m experiencing extremely weird behaviour in my app:)
It looks like setLinearVelocity interferes with an objects contentWidth while scaling of the object IS NOT altered.
The same goes for applyImpulse. It even seems like the physics engine itself fcks with my objects contentSize, even without doing anything physically. The impact seems to be bigger the more ‘dynamics’ there are.
I am aware that rescaling an object without removing it from the physics context won’t work and I don’t do it.
What I do is scale the objects in advance, calculate the physics shape according to the desired scale and then add the stuff to the physics engine and then join it.
I am sorry for not having the time isolating the problem. I couldn’t reproduce it with a single object.
Is there a known problem regarding this regarding contentSize and physics?
kind regard, Johannes