We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › aiming system (jBullet)
Page Index Toggle Pages: 1
aiming system (jBullet) (Read 4217 times)
aiming system (jBullet)
May 16th, 2010, 11:33pm
 
My investigation on jBullet went a little bit further.
I have confused ideas on how to use the lib but for the moment that's what i ended up with.

http://www.openprocessing.org/visuals/applets/visual8f4ba767fa89c19f275834d4e1c7...

PeasyCam controlled, aim on to a building an destroy it with the spacebar.
Will post further improvements wich would relate to:
framerate
tunneling of shapes
joints
0 mass shapes
magnetism
Re: aiming system (jBullet)
Reply #1 - May 17th, 2010, 12:37am
 
its not working here. i am running Java Plug-in 1.6.0_17 on firefox 3.6
Windows 7 64 bit.

Re: aiming system (jBullet)
Reply #2 - May 17th, 2010, 12:50am
 
Cedric wrote on May 17th, 2010, 12:37am:
its not working here. i am running Java Plug-in 1.6.0_17 on firefox 3.6
Windows 7 64 bit.



did the same with my pc. tried to reload
Or maybe use this other link:
http://www.openprocessing.org/visuals/?visualID=9705

Smiley
Re: aiming system (jBullet)
Reply #3 - May 17th, 2010, 12:59am
 
the openprocessing one is working.
look good!
Re: aiming system (jBullet)
Reply #4 - May 17th, 2010, 9:55am
 
running quite slow here... but might be my slow machine + sucky internet Wink
Re: aiming system (jBullet)
Reply #5 - May 17th, 2010, 10:59am
 
Basic physics but working here normaly.
(may you could kill objects when they quit the surface for optimisation)
Re: aiming system (jBullet)
Reply #6 - May 17th, 2010, 11:16pm
 
yelele_eu wrote on May 17th, 2010, 10:59am:
Basic physics but working here normaly.
(may you could kill objects when they quit the surface for optimisation)


Yep that's a bit slow.
I should deactivate collisions for the boxes on the ground and also the bullets, as soon as they hit the target. A nice explosion would be a nice add on. Probably this will be achievable, if I clear the memory from unnecessary continuous coll. detection.

Re: aiming system (jBullet)
Reply #7 - Jun 1st, 2010, 8:53am
 
haha, awesome. I hold down spacebar and circle around a tower, then watch it from the side as it is embraced by a column of nasty cones.
Page Index Toggle Pages: 1