0 registered members (),
1,089
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Gamestudio 8.46 public beta
[Re: 3run]
#453793
08/13/15 10:27
08/13/15 10:27
|
Joined: Dec 2011
Posts: 1,823 Netherlands
Reconnoiter
Serious User
|
Serious User
Joined: Dec 2011
Posts: 1,823
Netherlands
|
I think I would like a capsule shape too, since I ran into collision problems too with fps games. But is ellipsoid collision the default one and is it visible when clicking f11 twice? I don't know if I even have ellipsoid collision activated (I only see retangles with f11). sorry for my newbness at this
|
|
|
Re: Gamestudio 8.46 public beta
[Re: Reconnoiter]
#453795
08/13/15 14:30
08/13/15 14:30
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
But is ellipsoid collision the default one and is it visible when clicking f11 twice? I don't know if I even have ellipsoid collision activated (I only see retangles with f11). It depends on what kind of collusion you have (model vs sprite, model vs level block etc). Take a look at this: As you can see it's Ellipsoid vs Polygon, when you collide with terrain, map, level or model with POLYGON flag set on (moving entity is elipsoid, surface it collides with is polygonal). What I would like to have is to be able to switch between Capsule and Ellipsoid shape (same for trace with USE_BOX flag set on). I remember a lot of old wolf members asked for this before. Best regards.
|
|
|
Re: Gamestudio 8.46 public beta
[Re: jcl]
#453810
08/14/15 17:29
08/14/15 17:29
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
A capsule shape had certainly advantages over an ellipsoid, but the ellipsoid is hardwired in the OBB library. It supports no other shapes for polygonal collision. But for other collision shapes you can use the physics engine. I know about the physX engine, it's another topic to disscuss.. cause it's outdated as hell and it's not suitable for advanced movement (only rigid one is).
|
|
|
Re: Gamestudio 8.46 public beta
[Re: sivan]
#454029
08/25/15 07:35
08/25/15 07:35
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
a better solution would be to upgrade to, and integrate PhysX3.3, as other engines did.
and a lot of collision problems could be avoided by integrating the Recast/Detour navmesh pathfinder, as other engines did (nearly finished by WJBender's Peragro plugin). this will prevent from a lot of useless collision with level surfaces, when movement is allowed only on navmesh surfaces. it would also result in much easier enemy AI creation.
but it would require investing some time... +1 If you aren't going to add any additional shape to OBB, then at least upgrade physX. There is almost finished plugin made by 3dgs_snake. Recast/Detour navmesh pathfinder will also be a great help! Greets
|
|
|
Re: Gamestudio 8.46 public beta
[Re: sivan]
#454042
08/25/15 16:43
08/25/15 16:43
|
Joined: Dec 2011
Posts: 1,823 Netherlands
Reconnoiter
Serious User
|
Serious User
Joined: Dec 2011
Posts: 1,823
Netherlands
|
yes, unfortunately OBB does not work safely without using workarounds. (I don't even use c_move any more, just c_trace and vector operations that handles pushing/bouncing-off in case of collisions)
a better solution would be to upgrade to, and integrate PhysX3.3, as other engines did.
and a lot of collision problems could be avoided by integrating the Recast/Detour navmesh pathfinder, as other engines did (nearly finished by WJBender's Peragro plugin). this will prevent from a lot of useless collision with level surfaces, when movement is allowed only on navmesh surfaces. it would also result in much easier enemy AI creation.
but it would require investing some time... , +1 here too.
|
|
|
|