MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / CreateShape

Function CreateShape

Source/Engine/Physics/PhysicsBackend.h:335–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333 SetRigidDynamicActorFlags(actor, flags);
334 }
335 FORCE_INLINE static void* CreateShape(PhysicsColliderActor* collider, const CollisionShape& geometry, JsonAsset* material, bool enabled, bool trigger)
336 {
337 return CreateShape(collider, geometry, Span<JsonAsset*>(&material, 1), enabled, trigger);
338 }
339 FORCE_INLINE static void SetShapeMaterial(void* shape, JsonAsset* material)
340 {
341 SetShapeMaterials(shape, Span<JsonAsset*>(&material, 1));

Callers 5

CreateCollisionMethod · 0.85
AttachMethod · 0.85
CreateShapeMethod · 0.85
UpdateGeometryMethod · 0.85
BeginPlayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected