Comments (6)
Thanks for the inquiry. I'll investigate.
from libbulletjme.
A 7-year-old fork of Bullet might not be the best place to find examples. The current/authoritative Bullet repo is the one at https://github.com/bulletphysics/bullet3
Many Bullet examples use the btRigidBodyConstructionInfo
struct to construct rigid bodies. However, it's not necessary. In Libbulletjme, you construct a rigid body using the PhysicsRigidBody
constructor, specifying its shape and mass. The constructor sets the local inertia vector for you. All other parameters of the rigid body can be set after construction, using the setters of PhysicsRigidBody
.
from libbulletjme.
So, to answer your questions:
- Yes, it's possible to create ragdolls using Libbulletjme.
- Libbulletjme won't support
btRigidBodyConstructionInfo
, because it would be redundant. - Libbulletjme sets the local inertia of rigid bodies for you. It doesn't provide access to
calculateLocalIntertia()
, but could in the future if there were a need for it.
Please let me know: is this issue resolved to your satisfaction?
from libbulletjme.
I think need to provide func calculateLocalIntertia() ... :-)
Thanks you very much ~
have a nice day !
from libbulletjme.
Ragdoll.cpp
uses calculateLocalInertia()
only to create a rigid body. As I pointed out, Libbulletjme does this automatically when you create a rigid body.
Is there some other use case for calculateLocalIntertia()
?
from libbulletjme.
Libbulletjme does this automatically when you create a rigid body.
<-- Thank you, your advice ...
from libbulletjme.
Related Issues (20)
- Latest versions does not exist in maven HOT 7
- test whether a point is inside a `CollisionShape`
- Why there are no natives in Maven? HOT 2
- expose more SolverInfo properties HOT 1
- Mac M1 support HOT 12
- Strange behaviour when combining CollisionListeners with .addToIgnoreList HOT 4
- PhysicsCharacter.onGround() is unreliable HOT 7
- Double-precision support for non-rigid body physics objects HOT 10
- java.lang.NoClassDefFoundError: com/simsilica/mathd/Matrix3d HOT 4
- SIGSEGV crash in `btRaycastVehicle::updateFriction()` HOT 15
- PhysicsRigidBody lots of excess logging HOT 2
- Please revise your math classes to not be final. (Compatibility with other Math APIs) HOT 15
- where is CollisionShapeFactory? HOT 3
- Create a method in MeshCollisionShape to get a triangle HOT 8
- how to push object? HOT 9
- [ Question ] - How does this library/engine handle spatial partitioning? HOT 6
- [Question] Which collision form should I use? HOT 6
- [question] how to set a centre of mass HOT 5
- UnsatisfiedLinkError: 'int com.jme3.bullet.util.NativeLibrary.countThreads()' HOT 2
- How to update the library 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 libbulletjme.