User Tools

Site Tools


guides:checklist-for-platform-collider

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
guides:checklist-for-platform-collider [2020/04/22 18:30] vjraymonguides:checklist-for-platform-collider [2021/02/23 11:55] (current) – title consistency fix minotorious
Line 1: Line 1:
-====== Add platform collider to building ======+====== Adding Platform Collider to a Building ======
  
 The Example02 contains a platform-collider: a mesh over the ground on which the villagers can climb and walk. The Example02 contains a platform-collider: a mesh over the ground on which the villagers can climb and walk.
Line 9: Line 9:
 -- Apply building asset processor -- Apply building asset processor
 myMod:registerAssetProcessor("models/myFbxName.fbx", { myMod:registerAssetProcessor("models/myFbxName.fbx", {
- DataType = "BUILDING_ASSET_PROCESSOR"+    DataType = "BUILDING_ASSET_PROCESSOR"
 }) })
 </code> </code>
  
-2) Mesh named COLLIDER (in upper case, without prefix or suffix)+2) Mesh named COLLIDER (in upper case, without prefix or suffix) in the fbx file, under the mesh of the building part ''myBuildingPart'' (should contain "Part")
  
-3) Flag PLATFORM (in upper case, without prefix or suffix, "myBuildingPart" should contain "Part")+3) Flag PLATFORM (in upper case, without prefix or suffix)
 <code lua> <code lua>
 -- Register flag assigner component on the collider's type to 'PLATFORM' -- Register flag assigner component on the collider's type to 'PLATFORM'
guides/checklist-for-platform-collider.1587594630.txt.gz · Last modified: 2020/04/22 18:30 by vjraymon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki