flight-rs / flight-rs/flight

Trackable velocity

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
A - Vr Enhancement Good First Issue P - Next
Dominant language
Rust
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Trackable objects need velocity data. Both linear and rotational. `ViveController` currently has a `pose_delta`, but that isn't very helpful for physics and momentum and stuff. There should be a way to get the tracked object's instantaneous **velocity**.

The length of the linear vector is speed (m/s).
The direction of the linear vector is direction of movement.
The length of the angular vector is speed (radians/s).
The direction of the angular vector is the axis of spin.

- [ ] Linear velocity (`Vector3`) on all `Trackable`s
- [ ] HmdMoment
- [ ] ControllerMoment
- [x] MappedController
- [ ] Angular velocity (`Vector3`) on all `Trackable`s
- [ ] HmdMoment
- [ ] ControllerMoment
- [x] MappedController

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.