character with mele weapon like sowrd

razamha
Posts: 1
Joined: Sun Dec 29, 2013 10:27 pm

character with mele weapon like sowrd

Post by razamha »

Dear bullet forum users

-----------------------

I know that to simulate my character mesh in bullet i should use a capsule (like in the demo), but my character mesh can hold weapons like sword and axe, so how to represent those objects in bullet? how to know if the sword has collided with any other mesh
User avatar
emersonmx
Posts: 9
Joined: Mon Sep 09, 2013 2:06 pm

Re: character with mele weapon like sowrd

Post by emersonmx »

The manual has a diagram (below) that can be used to find out which shape to use (or not).
And the Bullet Wiki [1] has some articles talking about collision detection [2][3][4].

Personally I would use a stick to represent anything like a sword or an axe, because it is simple :D

[1] http://bulletphysics.org/mediawiki-1.5. ... /Main_Page
[2] http://bulletphysics.org/mediawiki-1.5. ... d_Triggers
[3] http://bulletphysics.org/mediawiki-1.5. ... _Filtering
[4] http://bulletphysics.org/mediawiki-1.5. ... _Detection
You do not have the required permissions to view the files attached to this post.