Deprecated: Function split() is deprecated in /home/wiki/public_html/inc/common.php on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/wiki/public_html/inc/common.php:533) in /home/wiki/public_html/inc/actions.php on line 71
tvphysics:testcollision [TV3DWiki]
 

Wiki > TV3D65 Index > TVPhysics

TestCollision

DESCRIPTION

-Checks two physics bodies to see if they occlude each other.

DECLARATION

VB.NET TestCollision(iBody1 As Integer , iBody2 As Integer , bFillEvents As Boolean) As Boolean
C++ bool TestCollision(int iBody1 , int iBody2 , bool bFillEvents )

PARAMETERS

NAMEOPTIONALDESCRIPTION
iBody1NoPhysics body to check for collision
iBody2NoPhysics body to check for collision
bFillEventsNoIf there is a collision, whether or not to add an event to the physics engine

RETURN VALUE

Boolean Whether or not there is a collision.

EXAMPLES

ExampleBasic example.

TIPS

  • Please add any notes or tips for this method.
 
tvphysics/testcollision.txt · Last modified: 2009/12/04 12:16 by 74.67.6.121