Are there object property to switch on/off collision detection with the object

Added by Andrew about 5 years ago

Are there object property to switch on/off collision detection with the object?

Specifically is there collision detection property (on/off switch) for:

- collision detection property for animated/moving objects like characters/monsters

- collision detection property for stating object like for example high grass

When playing the game I see that is some places removing collision would be
beneficial to the game flow like for example removing collision
with high grass/bushes or with some NPCs.

Please let me know if there are property I can set for that
or it needs changes to the game engine code


Replies (5)

RE: Are there object property to switch on/off collision detection with the object - Added by vl about 5 years ago

for static objects, there's the sheet that describe the object.

If you connect on open shard, you ll see a tower near the bot.

You can check the tower object description:

code\ryzom\common\data_leveldesign\leveldesign\Game_elem\Creature\objects\object_watch_tower.creature

for char/monster, it's an automatic system. There s collision to avoid 2 monster to go throw but if a player block a door and you force by continue running the player, the collision dynamically stop.

RE: Are there object property to switch on/off collision detection with the object - Added by Andrew about 5 years ago

1. Ok, I understand that when player is blocking a door after some time of "pushing" collission dynamically stops.

I there a timer (I can set up) for how long player must "push" other player for collision to stop?

Is this possible to dissable player/player colission altogehter with setting that
timer (if any) to some value?

If yes how it can be done

2. Is this possible to dissable automatic char/monster collision?

If yes how it can be done.

RE: Are there object property to switch on/off collision detection with the object - Added by vl about 5 years ago

I'll say yes for both, but i don't know how, I think it'll need some code hacking

RE: Are there object property to switch on/off collision detection with the object - Added by Andrew about 5 years ago

Does anybody knowns in which part of code I should look for code which allows to dissable player/player and player/monster collissions?

If anybody could give me source file name where are functions for this I would look into it.

RE: Are there object property to switch on/off collision detection with the object - Added by kaetemi about 5 years ago

There are properties for collisions of entities in the creature sheet.
Collisions for static objects are baked into the landscape collision data, so they can be tweaked by the artist in the used 3d modeling package.

(1-5/5)