Forums Gallery Downloads LOGIN |REGISTER

How to make AnimObject Entity snap to the terrain?

Character and Object Animation Setup. Trackview Cutscenes Setup.


 

cpp2012
Just getting started
Just getting started
 
Posts: 4
Member since: 24.11.2011, 07:34
Likes: 0

How to make AnimObject Entity snap to the terrain?

Postby cpp2012 » 12.12.2011, 14:24

I drag an animobject entity in the level. add to the track view as a node, walk a distance and animating it.
but it's not snap to the terrain.

can anyone solve this?
User avatar
Talvipakkanen
Executive Producer
Executive Producer
 
Posts: 4307
Member since: 16.06.2008, 22:11
Location: Oulu, Finland
Likes: 8

Re: How to make AnimObject Entity snap to the terrain?

Postby Talvipakkanen » 16.12.2011, 10:28

A screenshot about the scene could help figure this out...
Zip-line release 2012-04-24 (for CE2 & CE3) · C1 mod project: A mod called Entry
Assets · Blender: Destroyable object tutorial for CryBlend

- currently lost in New Eden -
cpp2012
Just getting started
Just getting started
 
Posts: 4
Member since: 24.11.2011, 07:34
Likes: 0

Re: How to make AnimObject Entity snap to the terrain?

Postby cpp2012 » 17.12.2011, 04:55

hey, i tried.but it's not.the animation don't caculate physical postion on the terrain.

can entity in track view do this(caculate physical postion per frame)?
User avatar
Talvipakkanen
Executive Producer
Executive Producer
 
Posts: 4307
Member since: 16.06.2008, 22:11
Location: Oulu, Finland
Likes: 8

Re: How to make AnimObject Entity snap to the terrain?

Postby Talvipakkanen » 17.12.2011, 12:48

Sample in attachment displays entity's distance from ground, assuming entity's rotation in x- and y-axes stays somewhat neutral. For a solution having the distance independent from entitys's rotation, a tagpoint can be set to follow the entity, in which case distance should be measured from the tagpoint.

distance_from_ground.jpg
Zip-line release 2012-04-24 (for CE2 & CE3) · C1 mod project: A mod called Entry
Assets · Blender: Destroyable object tutorial for CryBlend

- currently lost in New Eden -
KillingSpree
Developer
Developer
 
Posts: 388
Member since: 31.10.2007, 12:05
Location: Budapest, Hungary
Likes: 13

Re: How to make AnimObject Entity snap to the terrain?

Postby KillingSpree » 09.02.2012, 23:42

Why Z direction is -1?? i dont get it. I tought Y should be -90 (or X -180) to turn it to the ground. I waisted a lot of time with it. Btw thx, even if i didnt asked.
User avatar
Mika
Honourable Member
Honourable Member
 
Posts: 605
Member since: 01.11.2010, 15:28
Location: Orlando, FL
Likes: 10

Re: How to make AnimObject Entity snap to the terrain?

Postby Mika » 16.02.2012, 06:03

There is currently no option to make an AnimObject snap to the terrain, afaik.


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community