Joint2D_CUSTOM_INTERNAL_GetReactionForce() private method

private Joint2D_CUSTOM_INTERNAL_GetReactionForce ( Joint2D joint, float timeStep, Vector2 &value ) : void
joint Joint2D
timeStep float
value Vector2
return void
示例#1
0
        public Vector2 GetReactionForce(float timeStep)
        {
            Vector2 result;

            Joint2D.Joint2D_CUSTOM_INTERNAL_GetReactionForce(this, timeStep, out result);
            return(result);
        }
示例#2
0
        /// <summary>
        ///   <para>Gets the reaction force of the joint given the specified timeStep.</para>
        /// </summary>
        /// <param name="timeStep">The time to calculate the reaction force for.</param>
        /// <returns>
        ///   <para>The reaction force of the joint in the specified timeStep.</para>
        /// </returns>
        public Vector2 GetReactionForce(float timeStep)
        {
            Vector2 vector2;

            Joint2D.Joint2D_CUSTOM_INTERNAL_GetReactionForce(this, timeStep, out vector2);
            return(vector2);
        }