You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to update the axisA using useFrame() but I can't figure out how to access the property axisA from the constraint. It only returns methods such as enable(), enableMotor(), disable(), disableMotor(), setMotorSpeed() and setMotorMaxForce()
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
const [, ,hingeApiLF] = useHingeConstraint(Body, LeftFrontWheel, { collideConnected: false, axisA: [1, 0, 0], // axisB: [1, 0, 0], pivotA: [-2.5, 0, -2], maxForce: 1e6 });
I wanted to update the axisA using useFrame() but I can't figure out how to access the property axisA from the constraint. It only returns methods such as enable(), enableMotor(), disable(), disableMotor(), setMotorSpeed() and setMotorMaxForce()
Beta Was this translation helpful? Give feedback.
All reactions