I m begginer in game development.
I don't know how to do this - How can i know, when a cylinderical mesh reachs certain part of a plane mesh. That certain area of plan is textured in black and rest in white. The cylinderical mesh should be totally inside that blank area.
Pls. forgive me for my spelling mistake.
Confused with event
well if i do it, i would create a point somewhere in the plane, and get the distance from the mesh.
if the distance < the range of the point - the cubes extend, then do that event.
useful functions:
vector3df::getDistanceFrom(vector3df);
aabbox3d<f32>::getExtent()
or aabbox3d<f32>::MaxEdge; // this isn't a function just a variable
ISceneNode::getBoundingBox()
if the distance < the range of the point - the cubes extend, then do that event.
useful functions:
vector3df::getDistanceFrom(vector3df);
aabbox3d<f32>::getExtent()
or aabbox3d<f32>::MaxEdge; // this isn't a function just a variable
ISceneNode::getBoundingBox()