Archived

This topic is now archived and is closed to further replies.

weekease

i lost

Recommended Posts

dCreatePlane(space: dSpaceID, a, b, c, d: dReal) //˵Ã÷ Create a plane geom of the given parameters, and return its ID. If space is nonzero, insert it into that space. The plane equation is a*x+b*y+c*z = d The plane''s normal vector is (a,b,c), and it must have length 1. Planes are non-placeable geoms. This means that, unlike placeable geoms, planes do not have an assigned position and rotation. This means that the parameters (a,b,c,d) are always in global coordinates. In other words it is assumed that the plane is always part of the static environment and not tied to any movable object. ---------- ground := dCreatePlane (space, 0.0, 1.0, 0.0, 0.0); //make a ground at y ---------- how do i create a anomaly terrain by this equation? thank you~

Share this post


Link to post
Share on other sites