rattle-parent
0.1.1-SNAPSHOT
jvm
rattle-rapier
/
io.github.aecsocket.rattle.rapier
/
RapierEngine
Rapier
Engine
class
RapierEngine
:
PhysicsEngine
Members
Types
Builder
Link copied to clipboard
class
Builder
(
settings
:
RapierEngine.Settings
=
Settings()
)
:
PhysicsEngine.Builder
Settings
Link copied to clipboard
@
ConfigSerializable
data
class
Settings
(
val
integration
:
RapierEngine.Settings.Integration
=
Integration()
)
Properties
name
Link copied to clipboard
open
override
val
name
:
String
settings
Link copied to clipboard
var
settings
:
RapierEngine.Settings
version
Link copied to clipboard
open
lateinit override
var
version
:
String
Functions
create
Body
Link copied to clipboard
open
override
fun
createBody
(
type
:
RigidBodyType
,
position
:
DIso3
)
:
RigidBody.Own
create
Collider
Link copied to clipboard
open
override
fun
createCollider
(
shape
:
Shape
,
position
:
Collider.Start
)
:
Collider.Own
create
Joint
Link copied to clipboard
open
override
fun
createJoint
(
)
:
Joint
create
Shape
Link copied to clipboard
open
override
fun
createShape
(
geom
:
Geometry
)
:
Shape
create
Space
Link copied to clipboard
open
override
fun
createSpace
(
settings
:
PhysicsSpace.Settings
)
:
PhysicsSpace
destroy
Link copied to clipboard
open
override
fun
destroy
(
)
step
Spaces
Link copied to clipboard
open
override
fun
stepSpaces
(
dt
:
Double
,
spaces
:
Collection
<
PhysicsSpace
>
)