Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Problems with Collisions  (Read 1378 times)
0 Members and 1 Guest are viewing this topic.
Offline Cristianbs

Senior Newbie

Java games rock!

« Posted 2004-08-18 08:22:49 »

Im having problems using the collision system.Im doing some sort of mix between two first place i load a model with the ase loader (it does it right).Then i apply to the group of the loaded model, the collision node creation:

ColliderGeometry cg = new ColliderGeometry();
                              BiTreeCollider bic = new BiTreeCollider();
                              ColliderNode cn = new ColliderNode(group,ColliderNode.CT_GEOMETRY,ColliderNode.CT_GEOMETRY,false,bic);

The model is a simple wide slim cylinder that looks like a platform.Im using a physical camera like the one in maze3d.So...what is the problem? lets see

Well, the collisions only seem to happen in one side of the cylinder (the down side base) if i let fall the camera with gravity from a high position, the camera goes through the cylinder and stops when reaches the base of the cylinder..I have tested with more complex models and it works worse (a world globe that had no collisions at all).
I dont understand whats going on, it seems that the setTwoSided() method doesnt work, as the collision system+loaded models.

Any suggestion?
Thanks  Huh
Offline Cristianbs

Senior Newbie

Java games rock!

« Reply #1 - Posted 2004-08-23 12:34:02 »

Nobody that has worked with collisions can bring some light to the problem? Nobody uses them?   :-/
Offline William Denniss

JGO Coder

Projects: 2

Fire at will

« Reply #2 - Posted 2004-08-23 21:33:52 »

Can't help you sorry - I use Odejava for my collision and physics needs (and have been making many improvements to that API) Smiley

David Yazel, the author of the collision system is no longer activly developing the code.  If you become skilled enough with the collision package and want to take over the maintenance role, you are more than welcome to Wink


Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cristianbs

Senior Newbie

Java games rock!

« Reply #3 - Posted 2004-08-24 06:22:56 » fact your answer contains a possible solution --> use OdeJava!  Smiley
I would love to help in the development, but the fact is that im a total noob to this 3D world, so i need to understand a lot of things before thinking about improving them.
Thanks for your answer.
Pages: [1]
  ignore  |  Print  

DesertCoockie (20 views)
2018-05-13 18:23:11

nelsongames (68 views)
2018-04-24 18:15:36

nelsongames (65 views)
2018-04-24 18:14:32

ivj94 (748 views)
2018-03-24 14:47:39

ivj94 (79 views)
2018-03-24 14:46:31

ivj94 (555 views)
2018-03-24 14:43:53

Solater (94 views)
2018-03-17 05:04:08

nelsongames (168 views)
2018-03-05 17:56:34

Gornova (338 views)
2018-03-02 22:15:33

buddyBro (998 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!