D
dampire
-
dampire
Ok so I had 85 guard rails (walls) that I duplicated renumbered, took the last number off the randomseed, made them not render but collide, and replaced the surface for a straight line.
I also took the original walls and made them render but not collide.
Well some how it failed and non of the 85 walls duplicated are colliding.
I made plane wall to compare the two entries and it seems identical where it needs to be. (code bellow)
So I was wondering what I missed? (yes wall count was updated)
Wall that doesnt collide but should
Wall that I created to check against the xml entries not working that works.
I also took the original walls and made them render but not collide.
Well some how it failed and non of the 85 walls duplicated are colliding.
I made plane wall to compare the two entries and it seems identical where it needs to be. (code bellow)
So I was wondering what I missed? (yes wall count was updated)
Wall that doesnt collide but should
Code:
<Wall RandomSeed="34173019">
<Name>Wall169</Name>
<Renderable>False</Renderable>
<nodes count="2">
<OnlyOneNodeSelected>1</OnlyOneNodeSelected>
<LineType>BezierSpline</LineType>
<node NodeId="0">
<Position x="845.1208" y="937.542" z="789.2949" />
<ControlPoints AngleXZ="-0.892694" AngleY="0.05529446" EntryDistance="5.525157" ExitDistance="3.268974" />
</node>
<node NodeId="1" Selected="True">
<Position x="854.1086" y="936.7393" z="779.1723" />
<ControlPoints AngleXZ="-0.6346516" AngleY="0.05578382" EntryDistance="2.609777" ExitDistance="4.954647" />
</node>
</nodes>
<surfaces count="1">
<surface SurfaceId="0" Visible="True">
<StartNode>0</StartNode>
<StartPercentage>0</StartPercentage>
<Name>Surface1</Name>
<SetShape>True</SetShape>
<SurfaceShape Points="2">
<Point Selected="True" Grounded="True">
<Position x="0" y="0.65" z="0" />
</Point>
<Point Selected="True" Grounded="True">
<Position x="0" y="-0.01" z="0" />
</Point>
</SurfaceShape>
<SetMaterial>True</SetMaterial>
<SurfaceMaterials>
<SurfaceMaterial MaterialPath="Default\Materials\Wall\Cement\Cement001" Selected="False">
<StartPoint>0</StartPoint>
<EndPoint>1</EndPoint>
<MaterialApplicationType>PerMeter</MaterialApplicationType>
<PerMeterCoverage>12</PerMeterCoverage>
<FitNeatly>True</FitNeatly>
<texture_coordinate>
<FlippedHorizontal>1</FlippedHorizontal>
<FlippedVertical>1</FlippedVertical>
<Angle>0</Angle>
<scale x="1" y="1" />
<offset x="0" y="0" />
</texture_coordinate>
</SurfaceMaterial>
</SurfaceMaterials>
<PanelLength>1</PanelLength>
<CloudInfluence>1</CloudInfluence>
</surface>
</surfaces>
</Wall>
Code:
<Wall RandomSeed="380778644">
<Name>Wall170</Name>
<Renderable>False</Renderable>
<nodes count="3">
<OnlyOneNodeSelected>0</OnlyOneNodeSelected>
<LineType>Straight</LineType>
<node NodeId="0" Selected="True">
<Position x="-319.1711" y="1245.338" z="1128.024" />
<ControlPoints AngleXZ="0" AngleY="0" EntryDistance="0" ExitDistance="0" />
</node>
<node NodeId="1">
<Position x="-318.0844" y="1245.332" z="1127.601" />
<ControlPoints AngleXZ="0" AngleY="0" EntryDistance="0" ExitDistance="0" />
</node>
<node NodeId="2">
<Position x="-311.2812" y="1245.296" z="1124.871" />
<ControlPoints AngleXZ="0" AngleY="0" EntryDistance="0" ExitDistance="0" />
</node>
</nodes>
<surfaces count="1">
<surface SurfaceId="0" Visible="True">
<StartNode>0</StartNode>
<StartPercentage>0</StartPercentage>
<Name>Surface1</Name>
<SetShape>True</SetShape>
<SurfaceShape Points="2">
<Point Selected="False">
<Position x="-0.006666653" y="0.6715555" z="0" />
</Point>
<Point Selected="True">
<Position x="-0.003999999" y="-0.03466669" z="0" />
</Point>
</SurfaceShape>
<SetMaterial>True</SetMaterial>
<SurfaceMaterials>
<SurfaceMaterial MaterialPath="Default\Materials\Wall\Cement\Cement001" Selected="True">
<StartPoint>0</StartPoint>
<EndPoint>1</EndPoint>
<MaterialApplicationType>PerMeter</MaterialApplicationType>
<PerMeterCoverage>12</PerMeterCoverage>
<FitNeatly>True</FitNeatly>
<texture_coordinate>
<FlippedHorizontal>1</FlippedHorizontal>
<FlippedVertical>1</FlippedVertical>
<Angle>0</Angle>
<scale x="1" y="1" />
<offset x="0" y="0" />
</texture_coordinate>
</SurfaceMaterial>
</SurfaceMaterials>
<PanelLength>5</PanelLength>
<CloudInfluence>1</CloudInfluence>
</surface>
</surfaces>
</Wall>