Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to PhysicsSensors to include angular velocities #5771

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add stubs to PoseExtractorTests for angular velocity methods
TV4Fun committed Aug 17, 2022
commit ff2f7a2a77ec0cf75faf06cc86c6bbb6a0b80f73
Original file line number Diff line number Diff line change
@@ -19,6 +19,11 @@ protected internal override Vector3 GetLinearVelocityAt(int index)
{
return Vector3.zero;
}

protected internal override Vector3 GetAngularVelocityAt(int index)
{
return Vector3.zero;
}
}

class UselessPoseExtractor : BasicPoseExtractor
@@ -114,6 +119,10 @@ protected internal override Vector3 GetLinearVelocityAt(int index)
return Vector3.zero;
}

protected internal override Vector3 GetAngularVelocityAt(int index)
{
return Vector3.zero;
}
}

[Test]