コード例 #1
0
		public Body(Cluster p)
		{
			_native = btSoftBody_Body_new3(p._native);
		}
コード例 #2
0
		public static Vector3 ClusterVelocity(Cluster cluster, Vector3 rpos)
		{
			Vector3 value;
			btSoftBody_clusterVelocity(cluster._native, ref rpos, out value);
			return value;
		}
コード例 #3
0
		public static void ClusterVImpulse(Cluster cluster, Vector3 rpos, Vector3 impulse)
		{
			btSoftBody_clusterVImpulse(cluster._native, ref rpos, ref impulse);
		}
コード例 #4
0
		public static void ClusterImpulse(Cluster cluster, Vector3 rpos, Impulse impulse)
		{
			btSoftBody_clusterImpulse(cluster._native, ref rpos, impulse._native);
		}
コード例 #5
0
		public static Vector3 ClusterCom(Cluster cluster)
		{
			Vector3 value;
			btSoftBody_clusterCom2(cluster._native, out value);
			return value;
		}
コード例 #6
0
		public static void ClusterAImpulse(Cluster cluster, Impulse impulse)
		{
			btSoftBody_clusterAImpulse(cluster._native, impulse._native);
		}
コード例 #7
0
        public void AppendLinearJoint(LinearJoint.Specs specs, Cluster body0, Body body1)
		{
			btSoftBody_appendLinearJoint4(_native, specs._native, body0._native, body1._native);
		}
コード例 #8
0
        public void AppendAngularJoint(AngularJoint.Specs specs, Cluster body0, Body body1)
		{
            StoreAngularJointControlRef(specs);
			btSoftBody_appendAngularJoint4(_native, specs._native, body0._native, body1._native);
		}