Script v1_7_1_0
- AI
- Animals
- Collections
- Contracts
- Debug
- Economy
- Elements
- EnvironmentalScore
- Errors
- Events
- GUI
- Handtools
- Hud
- I3d
- Input
- Jobs
- Maps
- Materials
- Misc
- Objects
- Parameters
- Placeables
- Placement
- Player
- Shop
- Sounds
- Specialization
- Specializations
- StateMachine
- Statistics
- Tasks
- Triggers
- Utils
- Vehicles
Engine v1_7_1_0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- general
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- NoteNode
- Overlays
- Particle System
- Physics
- addDifferential
- addForce
- addImpulse
- addToPhysics
- addTorque
- addTorqueImpulse
- addVehicleLink
- computeWheelShapeTireForces
- createCCT
- createWheelShape
- getAngularDamping
- getAngularVelocity
- getCCTCollisionFlags
- getCenterOfMass
- getCollisionMask
- getDensity
- getHasTrigger
- getLinearDamping
- getLinearVelocity
- getMass
- getMotorRotationSpeed
- getRigidBodyType
- getVelocityAtLocalPos
- getVelocityAtWorldPos
- getVolume
- getWheelShapeAxleSpeed
- getWheelShapeContactForce
- getWheelShapeContactNormal
- getWheelShapeContactObject
- getWheelShapeContactPoint
- getWheelShapePosition
- getWheelShapeSlip
- JointConstructor:setActors
- JointConstructor:setJointTransforms
- moveCCT
- overlapBox
- overlapConvex
- overlapSphere
- raycastAll
- raycastClosest
- removeAllDifferentials
- removeCCT
- removeFromPhysics
- setAngularDamping
- setAngularVelocity
- setCenterOfMass
- setCollisionMask
- setFrictionVelocity
- setJointDrive
- setLinearDamping
- setLinearVelocity
- setMass
- setRigidBodyType
- setSolverIterationCount
- setWheelShapeForcePoint
- setWheelShapeProps
- setWheelShapeTireFriction
- simulatePhysics
- simulatePhysicsTimeScale
- updateDifferential
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- String
- Terrain Detail
- Text Rendering
- Tire Track
- VoiceChat
- XML
Foundation Reference
overlapSphere
DescriptionOverlap sphere objectsDefinition
overlapSphere(float x, float y, float z, float radius, string overlapFunctionCallback, object targetObject, integer collisionMask, boolean includeDynamics, boolean includeStatics, boolean exactTest, boolean async)Arguments
float | x | x |
float | y | y |
float | z | z |
float | radius | radius |
string | overlapFunctionCallback | overlapFunctionCallback |
object | targetObject | targetObject (optional) |
integer | collisionMask | collisionMask [optional, default=ALL_BITS] |
boolean | includeDynamics | includeDynamics [optional, default=true] |
boolean | includeStatics | includeStatics [optional, default=true] |
boolean | exactTest | exactTest [optional, default=false] |
boolean | async | if true, callback will be called in the next frame and calculations will be done in a background thread [optional, default=false] |
integer | numShapes | numShapes |