Constructor
new HoroballShape(location, offset)
Construction
Parameters:
Name | Type | Description |
---|---|---|
location |
Isometry | Vector3 | the location of the horoball.
|
offset |
number | the radius od the ball |
Classes
Members
center
Center of the ball (at infinity)
isGlobal :boolean
Says whether the shape is global. True if global, false otherwise.
Type:
- boolean
isHoroballShape :boolean
Says that the object inherits from HoroballShape
Type:
- boolean
offset :number
Offset. The offset correspond to the image of the origin, by the SDF of the horoball. If the offset is positive, the origin is outside of the horoball
Type:
- number