DNS
Member
|
Align object to heightmap
How align object to heightmap using Physics.ray?
|
|
08-16-2012 09:44 PM |
|
DNS
Member
|
RE: Align object to heightmap
bump?
|
|
08-18-2012 12:51 AM |
|
Esenthel
Administrator
|
RE: Align object to heightmap
set object position to collision from physics ray?
obj.pos(phys_hit.plane.pos)?
|
|
08-19-2012 08:51 PM |
|
DNS
Member
|
RE: Align object to heightmap
Its not work :<
PhysHit phys_hit;
if(Physics.ray(tempPos, Vec(-tempPos.x,tempPos.y,tempPos.z)*D.viewRange(), &phys_hit, ~IndexToFlag(AG_STATIC)))
{
Statics[len].pos(phys_hit.plane.pos);
}
|
|
08-20-2012 10:53 PM |
|
DNS
Member
|
RE: Align object to heightmap
bump?
|
|
08-29-2012 07:13 PM |
|
Esenthel
Administrator
|
RE: Align object to heightmap
please attach some images of the issue, and descibe what is happening
|
|
09-01-2012 01:57 PM |
|