本文整理汇总了C#中dBodyID类的典型用法代码示例。如果您正苦于以下问题:C# dBodyID类的具体用法?C# dBodyID怎么用?C# dBodyID使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
dBodyID类属于命名空间,在下文中一共展示了dBodyID类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: dBodySetFiniteRotationMode
public extern static void dBodySetFiniteRotationMode( dBodyID body, int mode );
示例2: dAreConnectedExcluding
public extern static int dAreConnectedExcluding( dBodyID body1, dBodyID body2, int joint_type );
示例3: DoCCDCast
public extern static bool DoCCDCast( dNeoAxisAdditionsID additions, dBodyID checkBodyID,
int contactGroup, out float minDistance );
示例4: dJointGetFeedback
/// <summary>
/// Get the jointfeedback structure from the joint to get information about
/// the forces applied by each joint.
///
/// The feedback information structure is defined as follows (NOTE: C# version listed here):
/// public struct dJointFeedback {
/// public dVector3 f1; /* force that joint applies to body 1 */
/// public dVector3 t1; /* torque that joint applies to body 1 */
/// public dVector3 f2; /* force that joint applies to body 2 */
/// public dVector3 t2; /* torque that joint applies to body 2 */
/// };
///
/// The dJointGetFeedback() function returns the current feedback structure pointer,
/// or 0 if none is used (this is the default).
/// TODO: Will passing 0 work or does something special have to be done?
/// </summary>
/// <returns>A dJointFeedback</returns>
/// <param name="body">A dBodyID</param>
public static dJointFeedback dJointGetFeedback( dBodyID body )
{
unsafe
{
dJointFeedback* v = (dJointFeedback*)dJointGetFeedback_( body );
return *v;
}
}
示例5: dConnectingJointList
public extern static int dConnectingJointList( dBodyID body1, dBodyID body2, out dJointID[] connectingJoints );
示例6: dBodySetAutoDisableTime
public extern static void dBodySetAutoDisableTime( dBodyID body, dReal time );
示例7: dBodySetAutoDisableDefaults
public extern static void dBodySetAutoDisableDefaults( dBodyID body );
示例8: dBodySetGravityMode
public extern static void dBodySetGravityMode( dBodyID b, int mode );
示例9: dBodyGetGravityMode
public extern static int dBodyGetGravityMode( dBodyID b );
示例10: dBodyGetNumJoints
public extern static int dBodyGetNumJoints( dBodyID b );
示例11: dBodyGetJoint
public extern static dJointID dBodyGetJoint( dBodyID body, int index );
示例12: dBodyGetFiniteRotationAxis
public extern static void dBodyGetFiniteRotationAxis( dBodyID body, ref dVector3 result );
示例13: dBodySetFiniteRotationAxis
public extern static void dBodySetFiniteRotationAxis( dBodyID body, dReal x, dReal y, dReal z );
示例14: dBodyGetFiniteRotationMode
public extern static int dBodyGetFiniteRotationMode( dBodyID body );
示例15: dBodySetAutoDisableSteps
public extern static void dBodySetAutoDisableSteps( dBodyID body, int steps );