Change the shapefile
by CodingChris · in Torque Game Engine · 08/12/2007 (12:10 am) · 4 replies
Hi,
how to change the shapefile of a defaultcar on the fly?
Hope for help.
how to change the shapefile of a defaultcar on the fly?
Hope for help.
About the author
Torque Owner Tim Heldna
Example:
datablock PlayerData(PlayerBody) { renderFirstPerson = false; emap = true; className = Armor; shapeFile = "~/data/shapes/player/player.dts"; };datablock PlayerData(Soldier : PlayerBody) { shapeFile = "~/data/shapes/soldier/soldier.dts"; }; datablock PlayerData(Smurf : PlayerBody) { shapeFile = "~/data/shapes/smurf/smurf.dts"; };