The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Killing a monster ! Dying animation
stonecutter Offline
Member

Posts: 140
Threads: 17
Joined: Feb 2011
Reputation: 4
#1
Killing a monster ! Dying animation

As you know i am working on a combat system !
http://www.frictionalgames.com/forum/thr...ate+entity

But now i have no idea how to manage to let the enemy die.
Currently the monster fades away , but i want to have a kind of dying animation ( falling to ground ).

Way 1 i thought of :
- remove the enemy when it dies
- put at the same place a enemy model with ragdoll ... it will automatically fall to the ground due to physics

way 2 :
- let the monster play an animation and replace it with a ragdollcopy.

but there is one big problem !

how can i add an entity at the same place as anothere entity is ? And dont forget the monster is moving around and wont die at the same place everytime !

Is it possible to stick an area to a monster so the area will follow the monster ?


Now its up to you . Take your brain and give me some input how you think you will solve this issue !



We Shall Arise - Death / Grind from Bavaria
Musicvideo : http://goo.gl/HzxvLK
Facebook : http://goo.gl/9YfYCV
Free Album : http://goo.gl/sEBW2X
(This post was last modified: 04-05-2012, 12:50 PM by stonecutter.)
04-04-2012, 02:34 PM
Find


Messages In This Thread
Killing a monster ! Dying animation - by stonecutter - 04-04-2012, 02:34 PM



Users browsing this thread: 4 Guest(s)