本文整理汇总了C#中dBodyID类的典型用法代码示例。如果您正苦于以下问题:C# dBodyID类的具体用法?C# dBodyID怎么用?C# dBodyID使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
dBodyID类属于命名空间,在下文中一共展示了dBodyID类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: dBodySetFiniteRotationMode
public extern static void dBodySetFiniteRotationMode( dBodyID body, int mode );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例2: dAreConnectedExcluding
public extern static int dAreConnectedExcluding( dBodyID body1, dBodyID body2, int joint_type );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例3: DoCCDCast
public extern static bool DoCCDCast( dNeoAxisAdditionsID additions, dBodyID checkBodyID,
int contactGroup, out float minDistance );
开发者ID:whztt07,项目名称:SDK,代码行数:2,代码来源:TaoWrapper.cs
示例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;
}
}
开发者ID:whztt07,项目名称:SDK,代码行数:26,代码来源:TaoWrapper.cs
示例5: dConnectingJointList
public extern static int dConnectingJointList( dBodyID body1, dBodyID body2, out dJointID[] connectingJoints );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例6: dBodySetAutoDisableTime
public extern static void dBodySetAutoDisableTime( dBodyID body, dReal time );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例7: dBodySetAutoDisableDefaults
public extern static void dBodySetAutoDisableDefaults( dBodyID body );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例8: dBodySetGravityMode
public extern static void dBodySetGravityMode( dBodyID b, int mode );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例9: dBodyGetGravityMode
public extern static int dBodyGetGravityMode( dBodyID b );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例10: dBodyGetNumJoints
public extern static int dBodyGetNumJoints( dBodyID b );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例11: dBodyGetJoint
public extern static dJointID dBodyGetJoint( dBodyID body, int index );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例12: dBodyGetFiniteRotationAxis
public extern static void dBodyGetFiniteRotationAxis( dBodyID body, ref dVector3 result );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例13: dBodySetFiniteRotationAxis
public extern static void dBodySetFiniteRotationAxis( dBodyID body, dReal x, dReal y, dReal z );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例14: dBodyGetFiniteRotationMode
public extern static int dBodyGetFiniteRotationMode( dBodyID body );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例15: dBodySetAutoDisableSteps
public extern static void dBodySetAutoDisableSteps( dBodyID body, int steps );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例16: dBodyDisable
public extern static void dBodyDisable( dBodyID body );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例17: dBodyGetAutoDisableSteps
public extern static int dBodyGetAutoDisableSteps( dBodyID body );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例18: dBodyIsEnabled
public extern static int dBodyIsEnabled( dBodyID body );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例19: dBodyGetAutoDisableTime
public extern static dReal dBodyGetAutoDisableTime( dBodyID body );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
示例20: dBodySetAutoDisableFlag
public extern static void dBodySetAutoDisableFlag( dBodyID body, int do_auto_disable );
开发者ID:whztt07,项目名称:SDK,代码行数:1,代码来源:TaoWrapper.cs
注:本文中的dBodyID类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论