Cat/Player Riding

Author: 
tbiz
tbiz's picture
Labels: 
Status: 
Priority: 
Milestone: 
Alpha 2.0

Right now collision allows players to jump and stand on top of enemies and also other players. When the thing they are standing on moves, they move right out from underneaith them. We should implement "riding" so that when the thing your standing on moves it also moves whatever is on top of it. It would probably be best to do a manual check to see if anything is on a player or enemies head and add the force of the the "ridee" to the velocity of the "rider." Also will have to check this with turrets too. Maybe it is better to have anything that can "ride" check what it is standing on and have the logic there. Then the ridee doesn't need to know about the "rider." That is probably better.

Comments

2

I like that. You should be able to ride each other too.

Submitted by el_bearduno on Fri, 2017-07-21 16:58
el_bearduno's picture

Just edited this with a little rant.

Submitted by el_bearduno on Tue, 2017-07-25 19:17
el_bearduno's picture

Add new comment

Basic Editor

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain Text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.