Hi,
I can't find a way to position a DetectorVolume in space other than changing the position of all the Verticies. What am I missing?
regards
Pavi
DetectorVolume Position
Re: DetectorVolume Position
The position is defined by by the MeshBoundingBoxTreeData that is passed in. If a StaticMeshData is used in the constructor, the only way to move the object is to change the positions. The TransformableMeshData is used, the transform can be changed. Changing this after construction requires that the DetectorVolume.TriangleMesh.Tree.Refit method is called.
If you plan on moving an object a whole lot, it might be a good idea to just use an Entity which is designed for motion.
If you plan on moving an object a whole lot, it might be a good idea to just use an Entity which is designed for motion.