Owner? Entity?

About advanced scenes, and the Thyme scripting language used in Algodoo.

Owner? Entity?

Postby UnityDogGaming04 » Fri Oct 08, 2021 6:28 pm

I've been using entityByID a lot lately to avoid global variables and enable easier cloning, but I don't quite understand what entity or owner mean in the context of readable(owner) or readable(entity). I understand what readable does, it returns read-only information from the object it acts on. Also, what's the difference between entityByID and entityByGeomID? Is there any resource where I can learn about all of this?
ALL HAIL THYME!
UnityDogGaming04
 
Posts: 17
Joined: Tue Oct 05, 2021 8:35 pm
Location: Buckeye, AZ

Re: Owner? Entity?

Postby FRA32 » Wed Oct 27, 2021 12:41 pm

EntityByID accesses an object by it's entityID, which is something every single object has. EntityByGeomID accesses entities by their GeomID; which only objects capable of collisions have. Regarding owner VS entity, I will have to do some research and experimentation myself before I can give an answer on that.
FRA32
 
Posts: 227
Joined: Wed Dec 03, 2014 9:51 pm


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 4 guests

cron