Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Object Data
  5. storeCollision

storeCollision

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Store the most recent collision if we have one, eg: after onCollisionEnter

returns an Integer (whole number) value

Example:

1
obj.storeCollision()
Tags
Was this article helpful to you? Yes No

How can we help?