This reduces memory allocations/deallocations done by that array, which can add up when a lot of calls are made.
[REVIEW] michael.bao
[CL 28947240 by sergio gardeazabal in ue5-main branch]
- remove the now-superfluous on/off flag
This connects FBodyInstance::MaxDepenetrationVelocity (previously unused in Chaos) to InitialOverlapDepenetrationVelocity on rigid particles.
#rb benn.gallagher
[CL 28823891 by chris caulfield in ue5-main branch]
Set the kinematic target in SetGlobalPose so that this is a teleport and velocity reset for kinematics as intended (if a teleport is not desired, the user should be calling SetKinematicTarget, not SetGlobalPose). Previously there could be problems with interpolation in async physics.
#jira UE-196442
#rb cedric.caillaud
[CL 28665908 by chris caulfield in ue5-main branch]
- Zero length sweeps will now return correct normals and hit positions
- Overlaps can now return hit positions, and the normals will be in global space for all shape types
#rb Benn.Gallagher
[FYI] Tom.waterson
#jira UE-191196
[REVIEW] [at]Benn.Gallagher
[CL 26811848 by jaco vandyk in ue5-main branch]
Physics Thread is swapping the event double buffer every step, but the Game Thread has not necessarily read the data from the buffer. So the Game Thread was missing some events.
[FYI] cedric.caillaud
[CL 26361431 by vincent robert in ue5-main branch]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds
[CL 26082269 by henrik karlsson in ue5-main branch]
* Moved dll export from type to methods/static variables. This is changelist is produced by a script and contains 900+ files.
#rb none
[CL 25898513 by henrik karlsson in ue5-main branch]
- cluster union acceleration structure is now safe even when a child physics state is destroyed
#rb jaco.vandyk, vincent.robert, benn.gallagher
#preflight 646be970b82cb3fe678098cc
[CL 25645285 by marc audy in ue5-main branch]
- Modified all the low-level overlap/raycast/sweep functions to take in an optional acceleration structure override pointer.
- Converted GeomSweepSingle into a template function similar to GeomSweepMulti and GeomOverlapMulti.
- Added template specializations to take in FPhysicsGeometry for GeomSweepSingle, GeomSweepMulti, and GeomOverlapMulti.
- Added override for FChaosEngineInterface::GetGeometryCollection to take in a FPhysicsGeometry.
- Also changed the cluster union to remove the primitive component from it if the primitive component's physics state is destroyed
#rb benn.gallagher, cedric.caillaud, jaco.vandyk
#preflight 64653a88c34c2e1212aff4c0
[CL 25518722 by michael bao in ue5-main branch]