Terrain Physics Heightfield support
* New Heightfield Components Signed-off-by: John Jones-Steele <jjjoness@amazon.com> * Misc PR fixes * Fixed linux build failure from bad #include * Renamed "Terrain Physics Collider" to "Terrain Physics Heightfield Collider" per physics team feedback * Fixed 1/5 -> 1/4 typo in a comment * Added missing member copies in HeightfieldShapeConfiguration Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Addressed PR feedback Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Changes from review Signed-off-by: John Jones-Steele <jjjoness@amazon.com> * Remove tabs accidently added Signed-off-by: John Jones-Steele <jjjoness@amazon.com> * Fixed overly complicated scaling math. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Added comments to make it more obvious what's happening on CreateEnd / DestroyBegin. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Moved Heightfield CreatePxGeometryFromConfig into its own function Signed-off-by: John Jones-Steele <jjjoness@amazon.com> Co-authored-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
775dda8ed2
commit
3d67be162c
@@ -12,6 +12,7 @@
|
||||
#include <Source/BaseColliderComponent.h>
|
||||
#include <Source/MeshColliderComponent.h>
|
||||
#include <Source/BoxColliderComponent.h>
|
||||
#include <Source/HeightfieldColliderComponent.h>
|
||||
#include <Source/SphereColliderComponent.h>
|
||||
#include <Source/CapsuleColliderComponent.h>
|
||||
#include <Source/ShapeColliderComponent.h>
|
||||
@@ -36,6 +37,7 @@ namespace PhysX
|
||||
BaseColliderComponent::CreateDescriptor(),
|
||||
MeshColliderComponent::CreateDescriptor(),
|
||||
BoxColliderComponent::CreateDescriptor(),
|
||||
HeightfieldColliderComponent::CreateDescriptor(),
|
||||
SphereColliderComponent::CreateDescriptor(),
|
||||
CapsuleColliderComponent::CreateDescriptor(),
|
||||
ShapeColliderComponent::CreateDescriptor(),
|
||||
|
||||
Reference in New Issue
Block a user