Independent Software Solutions 

CONTENTS

  CSM ROTATE


Functions

Synopsis

CSM ROTATE pivot index As Integer, fRotX As Float, fRotY As Float, fRotZ As Float

Purpose

Calling this function allows you to rotate a group of meshes by a relative angle based on a pivot entity.  All meshes that belong to the group which the pivot entity also belongs to will be rotated by the specified angles.

Parameters

pivot index

Specifies the pivot index associated with a group of meshes, >=0 and <total.  Use the CSM COUNT function to obtain the total number of pivots in your CSM map file.

fRotX

Value along the X axis to rotate

fRotY

Value along the Y axis to rotate

fRotZ

Value along the Z axis to rotate

Return value

None

 

(C) Paul S. J. Millard 2006