placeCollider3DWireframe
此内容尚不支持你的语言。
placeCollider3DWireframe(
lines,position,rotation):Vec3[][]
Defined in: physics3d/ColliderShape3D.ts:284
Local polylines placed in the world by an entity’s position and rotation.
Scale is deliberately left out: the solver builds the shape from the collider’s own numbers, so a scaled entity still collides at its authored size and a gizmo that grew with the scale would be drawing a body that does not exist.
Parameters
Section titled “Parameters”Vec3[][]
position
Section titled “position”rotation
Section titled “rotation”Returns
Section titled “Returns”Vec3[][]