cocos and bullet, add dynamic objects

Post Reply
spriggsy
Posts: 3
Joined: Mon Dec 31, 2012 10:21 pm

cocos and bullet, add dynamic objects

Post by spriggsy »

Hi all, im sorry if this is a pretty simple question but i cant work it out for the life of me.

i have Cocos3D and bullet all set up and working nicely.

if i initialise a world and add a ball with gravity, it falls and bounces off over objects perfectly.

what id like is if i press a button, it adds another ball for as many times as i press it.

i can get it to add a mesh, but unsure how to integrate this dynamic object into Bullet?
Post Reply