IsElementCollidableWith: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Client function}} | {{Client function}} | ||
{{Needs Example}} | |||
__NOTOC__ | __NOTOC__ | ||
This function can be used to check whether specified element is collidable with another element.<br> | This function can be used to check whether specified element is collidable with another element.<br> | ||
Line 29: | Line 30: | ||
==See Also== | ==See Also== | ||
{{Client element functions}} | {{Client element functions}} | ||
Revision as of 09:11, 6 October 2012
Script Example Missing Function IsElementCollidableWith needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function can be used to check whether specified element is collidable with another element.
Note: You can only use this function with the element types listed below.
Syntax
bool isElementCollidableWith ( element theElement, element withElement )
Required Arguments
- theElement: The element which colliding you want to get
- withElement: The other element which colliding with the first entity you want to get
Returns
Returns true if the elements collide with eachother, false otherwise.
Example
Click to collapse [-]
Client-- TODO
See Also
- getElementBoneMatrix
- getElementBonePosition
- getElementBoneRotation
- getElementBoundingBox
- getElementDistanceFromCentreOfMassToBaseOfModel
- getElementLighting
- getElementRadius
- isElementCollidableWith
- isElementLocal
- isElementOnScreen
- isElementStreamable
- isElementStreamedIn
- isElementSyncer
- isElementWaitingForGroundToLoad
- setElementBoneMatrix
- setElementBonePosition
- setElementBoneRotation
- setElementCollidableWith
- setElementStreamable
- updateElementRpHAnim
- Shared
- attachElements
- createElement
- destroyElement
- detachElements
- getAttachedElements
- getElementAlpha
- getElementAttachedOffsets
- getElementAttachedTo
- getElementByIndex
- getElementByID
- getElementChild
- getElementChildren
- getElementChildrenCount
- getElementCollisionsEnabled
- getElementColShape
- getElementData
- getAllElementData
- hasElementData
- getElementDimension
- getElementHealth
- getElementID
- getElementInterior
- getElementMatrix
- getElementModel
- getElementParent
- getElementPosition
- getElementRotation
- getElementsByType
- getElementsWithinColShape
- getElementsWithinRange
- getElementType
- getElementVelocity
- getLowLODElement
- getRootElement
- isElement
- isElementAttached
- isElementCallPropagationEnabled
- isElementDoubleSided
- isElementFrozen
- isElementInWater
- isElementLowLOD
- isElementWithinColShape
- isElementWithinMarker
- setElementAlpha
- setElementAngularVelocity
- getElementAngularVelocity
- setElementAttachedOffsets
- setElementCallPropagationEnabled
- setElementCollisionsEnabled
- setElementData
- setElementDimension
- setElementDoubleSided
- setElementFrozen
- setElementHealth
- setElementID
- setElementInterior
- setElementModel
- setElementParent
- setElementPosition
- setElementRotation
- setElementVelocity
- setLowLODElement
- getPedContactElement
- getResourceDynamicElementRoot
- getResourceRootElement