Package net.risingworld.api.collider
Klasse MeshCollider
java.lang.Object
net.risingworld.api.collider.Collider
net.risingworld.api.collider.MeshCollider
Represents a mesh-accurate collision shape
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.risingworld.api.collider.Collider
Collider.Type
-
Konstruktorübersicht
KonstruktorBeschreibungCreates a new mesh collider which uses the default mesh of the object.MeshCollider
(MeshAsset mesh) Creates a new mesh collider using the provided mesh.MeshCollider
(ModelAsset mesh) Creates a new mesh collider using the provided mesh. -
Methodenübersicht
-
Konstruktordetails
-
MeshCollider
public MeshCollider()Creates a new mesh collider which uses the default mesh of the object. -
MeshCollider
Creates a new mesh collider using the provided mesh.- Parameter:
mesh
- the mesh you want to use as collider.
-
MeshCollider
Creates a new mesh collider using the provided mesh.- Parameter:
mesh
- the mesh you want to use as collider.
-