10using System.Collections;
11using System.Collections.Generic;
18 [AddComponentMenu(
"")]
23 protected override void Start() {
33 private void onGraspedMovement(Vector3 presolvePos, Quaternion presolveRot,
34 Vector3 solvedPos, Quaternion solvedRot,
35 List<InteractionController> controllers) {
55 Vector3 deltaPos = solvedPos - presolvePos;
56 Vector3 handleForwardDirection = presolveRot * Vector3.forward;
57 Vector3 deltaAxisPos = handleForwardDirection * Vector3.Dot(handleForwardDirection, deltaPos);
Rigidbody rigidbody
The Rigidbody associated with this interaction object.
GraspedMovementEvent OnGraspedMovement
Called directly after this grasped object's Rigidbody has had its position and rotation set by its cu...