Commit Graph

9 Commits

Author SHA1 Message Date
Joshua Ashton 17b5e73799 environment, spring: Use StiffnessAndDamping for springs
continuous-integration/drone/push Build encountered an error Details
Should improve springs significantly.
2023-08-01 02:27:27 -07:00
Joshua Ashton 457a95fca5 Rebase against latest JoltPhysics w/ CCD fix
Closes: #1
Closes: #28
Closes: #86
2023-08-01 02:27:16 -07:00
Joshua Ashton be6b64b31e all: Rebase against latest VPhysics Jolt
continuous-integration/drone/push Build encountered an error Details
Bump submodule to 172a99c718bded5faa169ac440517286684fa2f0 and fixup our code to support the latest version.

Additionally, some water changes/fixes.
2023-03-29 18:31:20 +01:00
JJL772 860c66d09a environment: Fix GetBroadPhaseLayerName BroadPhaseLayers -> string mapping
continuous-integration/drone/push Build is passing Details
2022-09-28 17:28:12 +01:00
Joshua Ashton 6c1ec77980 environment: Add stub for Get/SetPerformanceSettings
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-09-09 02:22:04 +01:00
Joshua Ashton b01f9f5c0c environment: Use std::vector for m_pPhysicsControllers 2022-09-02 10:56:58 +01:00
Joshua Ashton 143b5b166c environment: Add list of dirty static bodies
Adds a vector of objects that were awake, and changed their
motion type from Dynamic -> Static, so that they can be
retrieved in GetActiveObjects, and have their visuals updated.

If we don't do this, objects that get moved, woken, and their
movement type changed to static will not get their transforms
updated on the game side.

Closes: #59
Closes: #63
2022-09-02 10:09:30 +01:00
Joshua Ashton db13ffba6e environment: Use resize when updating m_CachedObjects
This was a typo, otherwise the size is always 0.
2022-08-31 15:39:23 +01:00
Joshua Ashton 11adbb57bd Initial commit 2022-08-29 00:21:50 +01:00