Cannot set initial ReadMassProperties
#484
Labels
A-Integration
very bevy specific
D-Easy
P-Low
question
Further information is requested
S-not-started
Work has not started
I would like to spawn an entity and query over its mass in the same frame. This does not seem possible today; the only constructor for
ReadMassProperties
isdefault()
which sets it to 0.I understand not wanting this to be mutable in general, but there should be some mechanism to set it initially. The simplest would be to make a
new
function. This could easily be messed up, since the actual properties are derived from the rapierRigidBody
, but I don't think it would be any worse than today, where it's just 0.0 until the physics systems have run.The text was updated successfully, but these errors were encountered: