mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 00:15:32 +02:00
Reduce scope of CollisionPick shapeType to primitive shapes
This commit is contained in:
parent
577379dcb4
commit
69812d04ae
1 changed files with 4 additions and 2 deletions
|
@ -242,11 +242,13 @@ unsigned int PickScriptingInterface::createParabolaPick(const QVariant& properti
|
|||
* A Shape defines a physical volume.
|
||||
*
|
||||
* @typedef {object} Shape
|
||||
* @property {ShapeType} shapeType The type of shape to use.
|
||||
* @property {string} modelURL - If shapeType is one of: "compound", "simple-hull", "simple-compound", or "static-mesh", this defines the model to load to generate the collision volume.
|
||||
* @property {string} shapeType The type of shape to use. Can be one of the following: "box", "sphere", "capsule-x", "capsule-y", "capsule-z", "cylinder-x", "cylinder-y", "cylinder-z", "plane"
|
||||
* @property {Vec3} dimensions - The size to scale the shape to.
|
||||
*/
|
||||
|
||||
// TODO: Add this property to the Shape jsdoc above once model picks work properly
|
||||
// * @property {string} modelURL - If shapeType is one of: "compound", "simple-hull", "simple-compound", or "static-mesh", this defines the model to load to generate the collision volume.
|
||||
|
||||
/**jsdoc
|
||||
* A set of properties that can be passed to {@link Picks.createPick} to create a new Collision Pick.
|
||||
|
||||
|
|
Loading…
Reference in a new issue