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
Attaching entities
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#1
Attaching entities

I'd like to attach two entities together, so they behave as one entity. I cannot use a sticky area, because the entities will be moving up and down a rope

I have tried AddAttachedPropToProp, but due to it's nature it looks horrible. The attached prop falls through the floor, and it makes the whole thing look messy.

Is there another way to do this without making the second entity lose it's physics properties?

Thanks!

Edit: Solved! I just attached the entities by modifying the bodies so they interlocked Big Grin
For now it works fine, and doesn't seem as buggy as I first thought. Tested a good 10-20 times, and still no bodies have glitched through each other so i'd say it works Smile

(This post was last modified: 04-14-2012, 09:49 PM by DRedshot.)
04-14-2012, 03:15 AM
Find


Messages In This Thread
Attaching entities - by DRedshot - 04-14-2012, 03:15 AM
RE: Attaching entities - by Putmalk - 04-14-2012, 03:40 AM
RE: Attaching entities - by DRedshot - 04-14-2012, 03:48 AM
RE: Attaching entities - by Putmalk - 04-14-2012, 03:55 AM
RE: Attaching entities - by DRedshot - 04-14-2012, 04:11 AM
RE: Attaching entities - by Putmalk - 04-14-2012, 04:14 AM
RE: Attaching entities - by DRedshot - 04-14-2012, 04:30 AM



Users browsing this thread: 1 Guest(s)