All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.de.fabmax.kool.physics.joints.DistanceJoint.kt Maven / Gradle / Ivy

There is a newer version: 0.15.1
Show newest version
package de.fabmax.kool.physics.joints

import de.fabmax.kool.math.Mat4f
import de.fabmax.kool.physics.RigidActor

expect fun DistanceJoint(bodyA: RigidActor, bodyB: RigidActor, frameA: Mat4f, frameB: Mat4f): DistanceJoint

interface DistanceJoint : Joint {
    fun setMaxDistance(maxDistance: Float)
    fun setMinDistance(minDistance: Float)
    fun removeMaxDistance()
    fun removeMinDistance()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy