Search found 2 matches

by longboy9977vn
Thu Feb 06, 2020 6:44 am
Forum: General Bullet Physics Support and Feedback
Topic: How to aim the bullet correctly in Jbullet
Replies: 1
Views: 757

Re: How to aim the bullet correctly in Jbullet

For some one who faced with problem like this i have answer here //JBULLET shootBoxShape = new CapsuleShapeX(0.3f,0.5f); Vector3f forward = new Vector3f(1,0,0); Vector3f alignBullet = new Vector3f(destination.x - fromDestination.x, destination.y - fromDestination.y, destination.z - fromDestination.z...
by longboy9977vn
Wed Feb 05, 2020 3:58 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to aim the bullet correctly in Jbullet
Replies: 1
Views: 757

How to aim the bullet correctly in Jbullet

Im trying to implement jbullet in java, im facing a problem is, how to make capsule bullet correct way to the enemies. I have try this solution [url]https://stackoverflow.com/questions/1171849/finding-quaternion-representing-the-rotation-from-one-vector-to-another[url] but it seem like not work at a...