No-physics collisions

#1
I know how to disable collisions between different types of entities, but still have some problems.

So, is there is possibility to implement sort of collisions detection between entities without any physical influence on them?

Re: No-physics collisions

#2
The geom_no_coll_response should do what you want.

From physinterface.h:

Code: Select all

geom_no_coll_response = 0x1000000, //!< collisions are detected and reported, but not processed


Example:

Code: Select all

pe_params_part pp;
pp.flagsOR = geom_no_coll_response;  //For adding the flag
//pp.flagsAND = ~geom_no_coll_response;  //For removing the flag
pPhysicalEntity->SetParams(&pp);

Re: No-physics collisions

#3
gshot wrote:The geom_no_coll_response should do what you want.

From physinterface.h:

Code: Select all

geom_no_coll_response = 0x1000000, //!< collisions are detected and reported, but not processed


Example:

Code: Select all

pe_params_part pp;
pp.flagsOR = geom_no_coll_response;  //For adding the flag
//pp.flagsAND = ~geom_no_coll_response;  //For removing the flag
pPhysicalEntity->SetParams(&pp);


Exactly what i wanted. Thank again for helping me ;) .

Who is online

Users browsing this forum: No registered users and 1 guest