Sitting example

Original Discord Post by budlong | 2024-01-17 00:25:41

is there a tutorial or example in a level to show how sitting works? When i send a player to a couch or chair and tell them to sit (montage sit animation), they do not get close or align with the couch. An example would help figure out what parts im missing.
Cheers!

Reply by k3kalinix | 2024-01-17 09:08:18

Hello <@989648375492259890>, Welcome to Convai Community!

Reply by k3kalinix | 2024-01-17 09:08:22

<@&1163218672580575372> can you help?

Reply by mrd7041 | 2024-01-17 09:21:50

Hello <@989648375492259890> there isn’t any such tutorial particularly for sitting animation. But you can check our new actions tutorial for better clarity.

Reply by budlong | 2024-01-18 20:55:31

that tutorial is great, but doesnt touch on character alignment as far as I can tell…

Reply by freezfast | 2024-01-19 11:42:57

I think the only way to do this kind of sit action, we can do the following:

  • use the AI Move To node to move the character as near as possible to the chair
  • Apply a location and rotation lerp using a timeline
  • play the sit animation montage

Reply by budlong | 2024-01-19 17:17:23

thats pretty much what im doing, but instead of a timeline im using a timed event… this is currently only applied to rotation (for testing), translation will be added next.

Images:

Replying to budlong’s Message

Reply by budlong | 2024-01-19 17:17:23
thats pretty much what im doing, but instead of a timeline im using a timed event… this is currently only applied to rotation (for testing), translation will be added next.

Reply by freezfast | 2024-01-19 21:36:01

I think this should be sufficient to get the character to sit

This conversation happened on the Convai Discord Server, so this post will be closed.