Just a question
How did you get characterToWorld ? It is worldToCharacter.inverse() ?
++
Search found 24 matches
- Fri Feb 15, 2019 1:54 am
- Forum: General Bullet Physics Support and Feedback
- Topic: rotate a crate around me when i Turn
- Replies: 4
- Views: 4195
- Mon Feb 11, 2019 10:18 am
- Forum: General Bullet Physics Support and Feedback
- Topic: rotate a crate around me when i Turn
- Replies: 4
- Views: 4195
Re: rotate a crate around me when i Turn
hi,
thank for your help.
Unfortunately it doesn't work. Just with the first part, my crate is projected far far away...
++
thank for your help.
Unfortunately it doesn't work. Just with the first part, my crate is projected far far away...
++
- Sun Feb 10, 2019 9:28 am
- Forum: General Bullet Physics Support and Feedback
- Topic: rotate a crate around me when i Turn
- Replies: 4
- Views: 4195
rotate a crate around me when i Turn
Hi, I make an adventure game like tomb raider with bullet and Ogre 3d. And I have a problem to displace crates or boxes. I use a btGeneric6DofConstraint in order to push/pull some crates with my character. It works, the crate move with my hero. But i want also that when my hero turn around himself i...
- Fri Aug 25, 2017 3:51 pm
- Forum: Research and development discussion about Collision Detection and Physics Simulation
- Topic: character who react only with gravity
- Replies: 1
- Views: 35334
character who react only with gravity
Hi, I have a character and I want that he react to gravity (so there is Collision AND Physics activated on him. That's OK) but I don't want that he moved when an objet or another character touch him. So I want collision on him, so the other entity couldn't pass throught him (that's OK). I Want the r...
- Wed Aug 09, 2017 9:42 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: I want to know if i'm picking front face or back face
- Replies: 4
- Views: 5793
Re: I want to know if i'm picking front face or back face
Ok thanks i will do that..
And do you have an idea about my second question ?
if I have severeal subEntities or SubMesh how can I know wich subEntities or SubMesh i am picking ?
And do you have an idea about my second question ?
if I have severeal subEntities or SubMesh how can I know wich subEntities or SubMesh i am picking ?
- Mon Aug 07, 2017 10:16 am
- Forum: General Bullet Physics Support and Feedback
- Topic: I want to know if i'm picking front face or back face
- Replies: 4
- Views: 5793
I want to know if i'm picking front face or back face
Hi,
I use Bullet for picking and Ogre3d for rendering. I have 2 Questions:
1) If I have a double-sided plane and if I pick it I want to know if I pick front face or back face. It is possible to do that ?
2) How can I know wich subEntities or SubMesh i am picking ?
thx
++
I use Bullet for picking and Ogre3d for rendering. I have 2 Questions:
1) If I have a double-sided plane and if I pick it I want to know if I pick front face or back face. It is possible to do that ?
2) How can I know wich subEntities or SubMesh i am picking ?
thx
++
- Sat Aug 05, 2017 10:38 am
- Forum: Research and development discussion about Collision Detection and Physics Simulation
- Topic: what is the unit of measure of setWalkDirection() ?
- Replies: 2
- Views: 41210
- Mon Jul 31, 2017 9:59 pm
- Forum: Research and development discussion about Collision Detection and Physics Simulation
- Topic: what is the unit of measure of setWalkDirection() ?
- Replies: 2
- Views: 41210
what is the unit of measure of setWalkDirection() ?
Hi, My question is simple what is the unit of measure of function setWalkDirection() of btKinematicCharacterController ? (meters, centimeters, inch, Foot,...) ? I'm french so I want to work with meters For exemple If I want to move forward to 5 meters what I have to put like paramaters ?? Thanks ++
- Sat May 07, 2016 8:16 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Test if a character is moving
- Replies: 7
- Views: 6868
Re: Test if a character is moving
it doesn't work
- Tue May 03, 2016 3:01 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Test if a character is moving
- Replies: 7
- Views: 6868
- Thu Apr 28, 2016 11:40 am
- Forum: General Bullet Physics Support and Feedback
- Topic: Test if a character is moving
- Replies: 7
- Views: 6868
Test if a character is moving
Hi
I'm wondering how to test if a CharacterController is moving.
thanks
I'm wondering how to test if a CharacterController is moving.
thanks
- Sun Apr 03, 2016 5:37 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: To know when Character is sliding a slope
- Replies: 0
- Views: 3866
To know when Character is sliding a slope
Hi
I'm wondering how to know when a CharacterController is sliding a slope of a terrain and how to calculate the distance of sliding/falling.
thanks
I'm wondering how to know when a CharacterController is sliding a slope of a terrain and how to calculate the distance of sliding/falling.
thanks
- Fri Apr 01, 2016 7:20 am
- Forum: General Bullet Physics Support and Feedback
- Topic: How to know if my Character go up or go down a slope ?
- Replies: 5
- Views: 6685
Re: How to know if my Character go up or go down a slope ?
I found a solution.
Code: Select all
Ogre::Vector3 dir = PJ->mNode->getOrientation() * Vector3::UNIT_Z;
Ogre::Radian q = Ogre::Vector3(dir).angleBetween(Ogre::Vector3(point.m_normalWorldOnB));
Ogre::Real rotation =q.valueDegrees()-90 ;
- Thu Mar 31, 2016 2:09 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: How to know if my Character go up or go down a slope ?
- Replies: 5
- Views: 6685
Re: How to know if my Character go up or go down a slope ?
please, anyone ?
- Mon Mar 28, 2016 8:05 am
- Forum: General Bullet Physics Support and Feedback
- Topic: How to know if my Character go up or go down a slope ?
- Replies: 5
- Views: 6685
Re: How to know if my Character go up or go down a slope ?
I tried
But it doesn't seem to work.
Code: Select all
Ogre::Quaternion q = Ogre::Vector3(point.m_positionWorldOnA).getRotationTo(Ogre::Vector3(point.m_normalWorldOnB));
float rotation =q.y ;