AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPhysics Properties

The properties of the TAgkPhysics class are listed here.

 
Name 
Description 
 
Enables or disables the drawing of internal physics shapes on screen. 
 
Sets the maximum number of points that will be generated in future polygon physics shapes. Does not affect already generated shapes. 
 
Returns the fraction of the ray travelled before reaching a collision. 0 represents the start of the ray and 1.0 represents the end of the ray. 
 
Returns the normal of the most recent ray cast check. 
 
Returns the X component of the normal of the most recent ray cast check. 
 
Returns the Y component of the normal of the most recent ray cast check. 
 
Returns the intersection point of the most recent ray cast check. 
 
Returns the sprite hit in the most recent ray cast check. 
 
Returns the X coordinate of the intersection point of the most recent ray cast check. 
 
Returns the Y coordinate of the intersection point of the most recent ray cast check. 
 
Sets the scale used by the physics system compared with world coordinates. 
 
Toggles the existence of a physics wall at the edges of the screen to prevent physics objects leaving the screen in that direction. 
Copyright (c) 2012. All rights reserved.