Do not apply forces to a body with simulation disabled
The same holds for the whole force and impulse family: PxRigidDynamic's
addForce(), addTorque() and their impulse modes are not allowed for a
body with simulation disabled, PhysX only says so in a checked build,
and what follows the check hands the force to the simulation object such
a body does not have.
On PhysX 4.1 that is harmless, and the force is dropped: applying an
impulse to a body whose simulationEnabled is false leaves it where it
was, also after simulation is enabled again. PhysX 5 instead crashes in
the release build, which makes applyCentralForce() on such a body a way
to bring an application down from plain QML.
So ignore those commands for such a body, next to where they are already
ignored for kinematic bodies, and keep the behaviour that 4.1 has. The
enable_disable test now applies each of the six of them to a body with
simulation disabled, which passes here and segfaults once PhysX 5 is in.
Pick-to: 6.12 6.11 6.8
Change-Id: I2c04d48edb50ebefc66720d34dc788b67d530ede
Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>