Kerning is implemented for the font types supported by Director 11.
rayCastAll method in Physics(Dynamiks xtra) takes an optional parameter for sorting the returned list.
Usage:
<list> world.rayCastAll(vector origin,vector direction,[[#sorted:#distance]])
Description
This method returns references of all the rigid bodies or terrains that are found along the ray from the
specified origin and specified direction. The method also returns the point of contact, contact normal,
and the distance from the origin of the ray.
Parameters
parameter Description
Origin Required. Vector that specifies the origin of the
raycast
direction Required. Vector that specifies the direction of
the raycast.
[#sorted:#distance] Optional list. Specifies that the returned list
should be sorted on distance
Return parameter
This method returns a list containing a list having the following information:
Example:
Sign in to your account