JointMotor.force 力

var force : float

Description描述

The motor will apply a force.

该动力将应用一个的力。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		hingeJoint.motor.force = 100;
	}
}
hingeJoint.motor.force = 100;
Page last updated: 2011-1-27