About Store Forum Documentation Contact



Post Reply 
Bug with physics.ray - doesnt report collision with soft bodies
Author Message
Abril Offline
Member

Post: #1
Bug with physics.ray - doesnt report collision with soft bodies
Physics.ray

if(Physics.ray(start, end-start, &phys_hit)) // if ray hit something

doesnt report collision with soft bodies, altough when calling

soft_body.ray(start,end-start,&vHitPos,&hit_vtx)

directly on the soft_body, the collision is reported correctly.

Can be reproduced in the soft_body physics tutorial as well.
08-28-2011 04:56 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Bug with physics.ray - doesnt report collision with soft bodies
maybe it's how physx works
08-28-2011 05:11 PM
Find all posts by this user Quote this message in a reply
Abril Offline
Member

Post: #3
RE: Bug with physics.ray - doesnt report collision with soft bodies
Hi, another issue is that the fur shader doesn't work with soft bodies... is that related to physx as well?
08-28-2011 05:39 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Bug with physics.ray - doesnt report collision with soft bodies
no, that's EE limitation
08-28-2011 05:47 PM
Find all posts by this user Quote this message in a reply
Abril Offline
Member

Post: #5
RE: Bug with physics.ray - doesnt report collision with soft bodies
Can you please elaborate a bit, is that a problem in EE related to recomputing the tangent space after the vertices deformation? Could you please leave an option to maybe leave the original ones even if the vertices change position, it might just look out good enough? At least optional... (or if this is not the problem why is this limitation there?) thanks...
08-28-2011 05:52 PM
Find all posts by this user Quote this message in a reply
Abril Offline
Member

Post: #6
RE: Bug with physics.ray - doesnt report collision with soft bodies
(08-28-2011 05:52 PM)Abril Wrote:  Can you please elaborate a bit, is that a problem in EE related to recomputing the tangent space after the vertices deformation? Could you please leave an option to maybe leave the original ones even if the vertices change position, it might just look out good enough? At least optional... (or if this is not the problem why is this limitation there?) thanks...

Mmm in fact not even simple bump mapping is working with soft bodies...
08-29-2011 06:32 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
RE: Bug with physics.ray - doesnt report collision with soft bodies
I just didn't implement it yet, that would require adding new rendering codes
08-31-2011 07:17 PM
Find all posts by this user Quote this message in a reply
Post Reply