Comments (4)
Thanks for sharing your investigation, that helps! Right now I'm not sure either about how to expose it 😅, I might have ideas when I'll have encountered this codebase more.
I added the tag https://github.com/dimforge/rapier/releases/tag/v0.20.0.
from rapier.
Thanks for the suggestion ! In order to validate a path to implementation, I'd like to discuss current behaviour:
Currently, the testbed demo 2d in javascript provides a rotation gizmo, but I'm not sure where this is originating from, as it's the only example having such debug info 🤔 .
from rapier.
Your are right, there is already rotation gizmo implemented in debug renderer
https://docs.rs/rapier2d/latest/rapier2d/pipeline/struct.DebugRenderMode.html#associatedconstant.RIGID_BODY_AXES
But it looks like api to set flag is not exposes in TestbedApp
, flag hard coded here in resource to bevy app:
https://github.com/dimforge/rapier/blob/master/src_testbed/debug_render.rs#L25
and there is no way to change it because resource is private for testbed crate, so question now how to expose those flags to user?
btw I don't see v0.20.0 tag, it looks like it is not tagged in repository, v0.19.0 is the last tag
from rapier.
Your suggested patch is fine to me ! It's useful and discreet enough 👍 .
As you volunteered to submit a pull request I'm encouraging you to do so, otherwise I'll adopt it 😄
I'd welcome a comment like "// Draw a line to visualize rotation", because as you noticed this render would have a slightly different behaviour than the others.
from rapier.
Related Issues (20)
- rapier3d doesn't compile with simd-nightly HOT 6
- Cuboid Collider Gets Stuck After Contact with Polyline Collider HOT 2
- MultibodyJoint behaves incorrectly - does not react to angular momentum changes
- delta_time being 0 results in incorrect simulation
- CollidingEnitites component, doesnt seen to work with sensors. HOT 1
- CollisionPipeline ergonomics feedback and a bug
- Friction impulse not applied at contact point with additional_mass HOT 1
- Nonsymmetric collision with 2 colliders HOT 1
- Feature Request: Ghost Collision Handling
- Mutable non-shared shapes
- Add the possiblity to set joint_natural_frequency and joint_damping_ratio per joint HOT 1
- Adding CoefficientCombineRule of GeometricMean
- Rapier's "parallel" feature doesn't enable Parry's "parallel" feature HOT 1
- Rigidbody doesn't wake up if the joint it's connected to would update it. HOT 4
- Why can't I run your demo locally? HOT 1
- Headless Testbed with Metrics? HOT 3
- Why does FixedJoint allow some rotation?
- `ColliderBuilder::trimesh` doesn't return an error, and does not document potential panics
- Contact reporting may panic in assert HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rapier.