There’s a similar issue (where the setter triggers an important side effect) in assigning shape to a physicsBody. The .shape setter recalculates mass properties whereas assigning .density directly to shape does not trigger the recalculation.
HiGreg
13
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Restitution value does not get applied for container shape with convex hull child | 6 | 480 | May 10, 2023 | |
| Problems with BJS parenting and Havok physics | 7 | 839 | April 28, 2023 | |
| Physics not working for first box | 8 | 349 | September 7, 2023 | |
| Havok and LOD terrain | 9 | 707 | October 31, 2023 | |
| Is there an easy/more efficient way to set a Havok physics body box shape = mesh's bounding box? | 18 | 726 | May 24, 2024 |