commonMain.de.fabmax.kool.physics.joints.PrismaticJoint.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kool-physics Show documentation
Show all versions of kool-physics Show documentation
A multiplatform OpenGL / Vulkan graphics engine written in kotlin
package de.fabmax.kool.physics.joints
import de.fabmax.kool.math.Mat4f
import de.fabmax.kool.physics.RigidActor
expect fun PrismaticJoint(bodyA: RigidActor, bodyB: RigidActor, frameA: Mat4f, frameB: Mat4f): PrismaticJoint
interface PrismaticJoint : Joint {
fun setLimit(lowerLimit: Float, upperLimit: Float, stiffness: Float, damping: Float)
fun removeLimit()
}