We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I enable a motor when I use a HingeConstraint method. However, I can not disable the motor anymore. Here is my code:
setTimeout(() => test(), 2000) setTimeout(() => hingeConstraint.disableMotor(), 5000)
function test() { hingeConstraint = constraints[0] hingeConstraint.enableMotor() const velocity = Math.PI / 6 hingeConstraint.setMotorSpeed(velocity) }
I intend to let one body rotate to a specific angle. Therefore, I start a motor and then stop it. Am I understanding correct?
The text was updated successfully, but these errors were encountered:
Look forward to your reply. Thanks!
Sorry, something went wrong.
No branches or pull requests
I enable a motor when I use a HingeConstraint method. However, I can not disable the motor anymore.
Here is my code:
setTimeout(() => test(), 2000)
setTimeout(() => hingeConstraint.disableMotor(), 5000)
function test() {
hingeConstraint = constraints[0]
hingeConstraint.enableMotor()
const velocity = Math.PI / 6
hingeConstraint.setMotorSpeed(velocity)
}
I intend to let one body rotate to a specific angle. Therefore, I start a motor and then stop it. Am I understanding correct?
The text was updated successfully, but these errors were encountered: