Jump to content

Making player sit then translating him/her. Help please.


Recommended Posts

So I want player to sit down and then a translation will move the player in the sitting position. The translation is not a problem for me to do, what is an issue that furniture cannot be translated. If the player is 'using' a sit marker any object's collision that is translated, which normally would push/raise/whatever the player passes straight through him and the player isn't moved at all. I tried PlayerRef.PlayIdle(MyIdle) but as Wiki says some idles require furniture otherwise they won't happen.

Ideas anybody?

Link to comment
Share on other sites

What you need to realize / understand is that the player and or npc is 'Not Actually Sitting', the actor is just executing an 'Animation' on that position / marker, the actor 'Never' sits and is still in 'executing animation' until he stands up and the animation finish.


So, when the actor sits you still have 2 different objects and not 1 combine / merge, you can see this with a simple experiment:

- Make an npc use a furniture and when he is using it disable the furniture.

- If the npc is sleeping on a bed, by disableing the furniture will not interrupt the npc and he will still be sleeping (in the air), and he will still execute the 'stand up' animation.



I hope it helps.

Edited by maxarturo
Link to comment
Share on other sites

What you can do is to look at the 'game's start scene' and see how it was done, then apply that to your idea.

There are 5 npcs sitting on a moving carriage, plus executing a scene.


I can not help you with this because i'm fed up with CK and i even have deleted the CK's shortcut from my desktop, no more CK for me for a long time...

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...