About Store Forum Documentation Contact



Post Reply 
Align object to heightmap
Author Message
DNS Offline
Member

Post: #1
Align object to heightmap
How align object to heightmap using Physics.ray?
08-16-2012 09:44 PM
Find all posts by this user Quote this message in a reply
DNS Offline
Member

Post: #2
RE: Align object to heightmap
bump?
08-18-2012 12:51 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
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
Find all posts by this user Quote this message in a reply
DNS Offline
Member

Post: #4
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
Find all posts by this user Quote this message in a reply
DNS Offline
Member

Post: #5
RE: Align object to heightmap
bump?
08-29-2012 07:13 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Align object to heightmap
please attach some images of the issue, and descibe what is happening
09-01-2012 01:57 PM
Find all posts by this user Quote this message in a reply
Post Reply