params = { NAME = "Actor_Template", Actor_Template = { SCALE = vector2dNew(4.0,4.0), COMPONENTS = { { NAME="AnimLightComponent_Template", AnimLightComponent_Template = { animationScene = "blabla/blabla/blabla/blabla.asc" -- chemin du fichier .asc } }, { NAME="SoftPlatformComponent_Template", SoftPlatformComponent_Template = { softPlatformParticles = { {BodyData = {bone = "bone1",static = 1,},}, -- Liste des bones "rope" -- static = 1 pour d�finir le (les) point d'accroche {BodyData = {bone = "bone2",},}, {BodyData = {bone = "bone3",},}, {BodyData = {bone = "bone3*",},}, }, softPlatformConstraints = { {ConstraintData = {bodyA = "bone1", bodyB = "bone2", stiff = 250.0, damp = 100.5},}, -- R�glage du comportement de chaque bone {ConstraintData = {bodyA = "bone2", bodyB = "bone3", stiff = 250.0, damp = 100.5},}, {ConstraintData = {bodyA = "bone3", bodyB = "bone3*", stiff = 250.0, damp = 100.5},}, }, polylines = { { PolyData = { gameMaterial = "GameMaterial/Rope_Liane.gmt", friction = 1.0, speedLoss = 1.0, environment = 0, punchForceMultiplier = 100.0, impulseMultiplier = 1.0, weightMultiplier = 5.0, landSpeedMultiplier = 100.0, Bones = { {PolylineBoneData = {Name = "bone1",}}, -- Bones de collision {PolylineBoneData = {Name = "bone2",}}, {PolylineBoneData = {Name = "bone3",}}, {PolylineBoneData = {Name = "bone3*",}}, }, } }, } } }, { NAME="RenderSimpleAnimComponent_Template", RenderSimpleAnimComponent_Template = { } }, } } }