Change the rigidbody shapetype. Seems to be "0" witch is "Box" i believe.
Change to Trimesh or maybe for EC_Terrain the Heightmap might work too. Try
them all out while having the  <attribute value="false" name="Draw Debug"/>
to true. That is the best way to see how the physics are configured!

Best regards,
Jonne Nauha
Adminotech developer


On Mon, Mar 26, 2012 at 3:47 PM, Vaibhav Vaidya
<[email protected]>wrote:

> Hii all,
>
> I have a terrain entity in my scene. I have created RigidBody component in
> Terrain entity. I have added an avatar-app to my scene but my avatar falls
> from the terrain.
> This is how my Terrain entity looks like in .txml file:
>
>
> <entity id="11" sync="1">
>   <component type="EC_Name" sync="1">
>    <attribute value="Terrain" name="name"/>
>    <attribute value="" name="description"/>
>   </component>
>   <component type="EC_Terrain" sync="1" name="Terrain">
>    <attribute
> value="-500.000000,-20.000000,0.000000,0.000000,0.000000,0.000000,10.000000,10.000000,10.000000"
> name="Transform"/>
>    <attribute value="75" name="Grid Width"/>
>    <attribute value="75" name="Grid Height"/>
>    <attribute value="0.129999995" name="Tex. U scale"/>
>    <attribute value="0.129999995" name="Tex. V scale"/>
>    <attribute value="RexTerrainPCF.material" name="Material"/>
>    <attribute value="terrain.tif" name="Heightmap"/>
>   </component>
>   <component type="EC_RigidBody" sync="1">
>    <attribute value="0" name="Mass"/>
>    <attribute value="0" name="Shape type"/>
>    <attribute value="1.000000 0.200000 1.000000" name="Size"/>
>    <attribute value="" name="Collision mesh ref"/>
>    <attribute value="0.5" name="Friction"/>
>    <attribute value="0" name="Restitution"/>
>    <attribute value="0" name="Linear damping"/>
>    <attribute value="0" name="Angular damping"/>
>    <attribute value="1.000000 1.000000 1.000000" name="Linear factor"/>
>    <attribute value="1.000000 1.000000 1.000000" name="Angular factor"/>
>    <attribute value="false" name="Kinematic"/>
>    <attribute value="false" name="Phantom"/>
>    <attribute value="false" name="Draw Debug"/>
>    <attribute value="0.000000 0.000000 0.000000" name="Linear velocity"/>
>    <attribute value="0.000000 0.000000 0.000000" name="Angular velocity"/>
>    <attribute value="-1" name="Collision Layer"/>
>    <attribute value="-1" name="Collision Mask"/>
>   </component>
>  </entity>
>
> Am I missing anything?? What can be the reason behind this?
> Please help..
>
> --
> http://groups.google.com/group/realxtend
> http://www.realxtend.org

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Reply via email to