mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-08 15:13:35 +00:00
- All of the mass properties have regular getters/setters - :get/setMass - :get/setInertia - :get/setCenterOfMass - You can use nil for any of the setters to set the mass property to an "automatic" value, computed from the shape and/or other overridden mass properties. - If you override the mass properties, we assume you know what you're doing and don't try to be sneaky and auto-update downstream values. So changing the mass or center of mass doesn't auto-scale the inertia. - If you change the shape (or enabled axes), mass data gets reset. - You can use :resetMass to reset all 3 mass properties at once. It's also useful if something about the underlying shape changed. |
||
---|---|---|
.. | ||
glfw@9477311130 | ||
glslang@5edafd3006 | ||
jolt-physics-sharp@5b9a9d94fb | ||
lua@69ea087dff | ||
luajit@1f1b4be24a | ||
msdfgen@aaf33b059c | ||
ode@3f3b4da5dc | ||
openxr@288d3a7ebc | ||
pico-openxr@706c0903b1 | ||
tracy@a9288cd759 | ||
vulkan-headers@29c0457cc1 |