Previous Thread  Next Thread

chat icon Joystick Control

rpember

Posted: Fri Oct 18, 2002 10:17 am
Joined: 18 Oct 2002
Posts: 2
Has anyone developed a joystick plugin for Blender? Question

Also, it would be great if collision bounding could actually be set to the shape of an object and not just spherical.[/b]
Reply with quote


z3r0_d

Posted: Fri Oct 18, 2002 8:50 pm
Joined: 16 Oct 2002
Posts: 1520
yes, look for it on elysiun, but you probably want it internal, yes?



the bounding-sphere are relatively fast to work with. A polygon-determined colision model is very slow.

case-and-point. Imagine a 600 faced car, and a 12 faced (trianglear) rectangular prisim, the user will probably not be able to tell the difference between the two.

(even better would be a sort of extruded pentagon for a car bounding box, to replicate the 'hump' of the passenger area.
Reply with quote


Bapsis

Posted: Sat Oct 19, 2002 12:30 pm
Joined: 14 Oct 2002
Posts: 2
Awesome Idea!!!

I have never seen that on Elysiun, might have to look for it... This would be very important once we start Blending games for the PS2, Xbox or other consoles!!!

Matt


Blend on, and blend well!!!
Reply with quote


Saluk

Posted: Sat Oct 19, 2002 7:06 pm
Joined: 16 Oct 2002
Posts: 166
ODE, which looks like it will be the open source collision detection/physics library we will be using (if you have linux, check it out on the front page), has support for many different collision shapes. Having too complex shapes does make things slow, but making up your shape out of a few well-placed cubes is a nice compromise. ODE has a lot of other really neat things to it, so if they get it in, the Blender game engine will be much better than it was before:)
Reply with quote


kAinStein

Posted: Sun Oct 20, 2002 8:46 pm
Joined: 16 Oct 2002
Posts: 453
rpember wrote:
Has anyone developed a joystick plugin for Blender? Question


It should be possible to implement a joystick control using the joystick class from the pygame-libraries (http://www.pygame.org). I haven't tried this, so I can't say it for sure, but I also can't see anything that would make this impossible. Someone else has tried this?

Happy blending and God bless!
kAinStein
Reply with quote


shursey

Posted: Fri Nov 08, 2002 1:07 pm
Joined: 15 Oct 2002
Posts: 11
Has anyone found this script for sure?
Reply with quote


kAinStein

Posted: Fri Nov 15, 2002 9:04 am
Joined: 16 Oct 2002
Posts: 453
shursey wrote:
Has anyone found this script for sure?

Search the realtime engine forum at elysiun.com - There you should possibly find what you're searching.
Reply with quote


erwin

Posted: Fri Nov 15, 2002 2:12 pm
Joined: 21 Oct 2002
Posts: 86
>Also, it would be great if collision bounding could actually be set to the >shape of an object and not just spherical.[/b]

blender 2.x has solid 3.0 collision detection. it can do concave-concave 'polygon soup' collision detection, and convex-convex polyhedra.
It works all very fast, using GJK, AABB trees, written by Gino van den Bergen. This collision detection is much better then what ODE has offered yet. However you are talking about the collision response. This is a different story, and sumo (Solid Uses MOto) physics is impulse based, and this required penetration depth. Although we had it up and running internally, we only released dynamic object for spheres (penetration depth is rather trivial). So even if we replace sumo with ode, we will need to have a good collision detection. Ode's coldet. is very rudimentary at the moment, but there is recent progress, so cross your fingers.

just to let you know Wink
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group