jPCT - a 3d engine for Java > Projects

GW: Bloddy Camp

(1/2) > >>

Gatobot14:
Another game for the ludum dare 33 i made it under 3 days
if you want to play it go here http://gamejolt.com/games/gw-bloddy-camp/88550

Everything goes well with jpct but doing collision(Ellipsoid collision) really make things a bit slower
so i have to remove a few of them, it also didnt resolve well when the player an another entity
end up in the same place(weird things happend) .

EgonOlsen:
Ellipsoid collision detection can't resolve existing collisions. It can only prevent them from happening in the first place. Existing collisions should be handled different (either with spherical collision detection as an additional step or with some simple distance check or whatever).
About your performance issues...how many checks did you do per frame and at which number of iterations?

Gatobot14:
well for the ellipsoid collision i have 5 monsters, all of them moving with a collision depth of 2,
ok i undesrtand that ellipsoid  can't resolve existing collisions and is the only way ive been using
but could you explain more on this:

--- Quote ---Existing collisions should be handled different (either with spherical collision detection as an additional step or with some simple distance check or whatever).

--- End quote ---

i would like to know because if the player gets in the same place of a monster they both collision and start to floating  ;D
for now i only move the monster if they are close to the player and everything works smooth

EgonOlsen:
What you mean by "floating" in this case? Do they move up?

Gatobot14:
yes they go up to the sky

Navigation

[0] Message Index

[#] Next page

Go to full version