VVCollision
Client
Server
Constructors
VVCollision VVCollision()
Methods
Hit[] Raycast(Vec3? pos, Vec3? dir)
table RaycastTo(Vec3 startPos, Vec3 endPos)
Hit[] CapsuleOverlap(Vec3 pos1, Vec3 pos2, number radius)
Properties
Filter filter
number traversalStopVxSize
this parameter will be set to smallest voxel that should be traversed (unless it is SUPERNODE - in that case traversal will go deeper)
- it can be calculated even for a stretched transformed entity once before its node graph traversal
- if a voxel in a node is larger than this, children of the node will be traversed
- in top level CD routine(s) the size is in the same coords scale as prim (ie in the provided world (WC) size scale)
- in deep CD routines the size is in DC coords scale (it was calculated such if entity has transform)