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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Colliding two entities
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#1
Question  Colliding two entities

So i am trying to make it so when the user tosses a chair at the door, the door opens. However, whenever i try to add an entity collide callback, the game crashes at that point. The following statement is the culprit:
AddEntityCollideCallback("front_door", "armchair_1", "EntityCollided", true, 0);

Is the game not designed to handle entity-to-entity collision? Or am i supposed to use a different function? Or is the only way to accomplish my goal is through the use of areas? Or...?

Huh
07-27-2011, 01:41 PM
Website Find


Messages In This Thread
Colliding two entities - by Your Computer - 07-27-2011, 01:41 PM
RE: Colliding two entities - by Kyle - 07-27-2011, 01:46 PM
RE: Colliding two entities - by Your Computer - 07-27-2011, 02:17 PM
RE: Colliding two entities - by Apjjm - 07-27-2011, 02:35 PM



Users browsing this thread: 1 Guest(s)