Comments (10)
How is the joint configured?
from physx-rs.
How is the joint configured?
All Spherical joints, with limits but rather large limits. EDIT..set motion type to FREE
from physx-rs.
Are you setting motion type per axis?
from physx-rs.
Yes like this:
PX::set_articulation_joint_type(
joint_ptr as PtrArticulationJointReducedCoordinate,
PS::PxArticulationJointType::Spherical,
);
PX::set_articulation_joint_reduced_motion(
joint_ptr as PtrArticulationJointReducedCoordinate,
PS::PxArticulationAxis::Swing1,
PS::PxArticulationMotion::Free,
);
PX::set_articulation_joint_reduced_motion(
joint_ptr as PtrArticulationJointReducedCoordinate,
PS::PxArticulationAxis::Swing2,
PS::PxArticulationMotion::Free,
);
PX::set_articulation_joint_reduced_motion(
joint_ptr as PtrArticulationJointReducedCoordinate,
PS::PxArticulationAxis::Twist,
PS::PxArticulationMotion::Free,
);
from physx-rs.
Hmm. I'd narrow it down a bit by using a limited spherical joint, and probably using a Force drive type rather than Target. That'd be a more regular setup I think. This seems like a configuration issue, more so than a binding problem until we can prove the opposite. Articulation joints and drives are a lot less forgiving for configuration errors than their regular variants.
Just to double-check though; @blunzn or @bpaberg -- you've both looked at the articulations recently; did you notice any issues with drives?
from physx-rs.
I could try to use velocity drive to see if it makes a difference, it should be possible to drive towards an orientation using velocity as well, by setting velocity to zero when target is reached.
from physx-rs.
I'm not sure why force drive would work better?
from physx-rs.
Ok once I'm home I'll make a minimal example to try to reproduce it.
from physx-rs.
My bad, I should've use FORCE joint drive type instead of TARGET.
from physx-rs.
Thanks for the follow-up @mlp1802!
from physx-rs.
Related Issues (20)
- Port PxCooking
- Emit default values in FFI bindings
- Reevaluate structgen HOT 1
- Cleanup C++ source files
- Flow support? HOT 2
- Generate `physx-safe` on top of `physx-sys`
- run error in msvs target HOT 4
- Build error after updating ubuntu HOT 7
- ActorMap is missing read-only API HOT 2
- How to create a TriangleMeshGeometry in Rust? HOT 6
- Unable to get collision callbacks in bouncing ball example. HOT 6
- Misaligned pointer dereference HOT 24
- How can i remove a Rigid Dynamic actor from scene when it collide with a specific object ? HOT 2
- `pxbind` needs update HOT 1
- iOS support HOT 1
- How to create completion task for passing in scene.step function ?
- Add support for `eDEFAULT` for bitflags (and maybe enums)
- Change MacOS CI to aarch64
- Round out `Controller` trait functions HOT 1
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 physx-rs.