Collision and destroy problems

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Collision and destroy problems

Post by rude »

Ok, what if you replace the exact line where you're trying to do player.joint:setCollideConnected with this:

Code: Select all

local type = player.joint:getType()
Does this generate an error? If not, what is the return value?
User avatar
Lord Tim
Prole
Posts: 30
Joined: Sun Jul 20, 2008 4:07 am

Re: Collision and destroy problems

Post by Lord Tim »

GetType generates an error, but using type() says that it's still a userdata. This is a RevoluteJoint specifically, and getSpeed/getAngle works. As well as setting limits.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Collision and destroy problems

Post by rude »

Jesus Christ, I've forgotten to specify the inheritance relationship in the SWIG files. So those functions are in fact not available. :shock:

I would love nothing more than putting a new release out there, but I don't have time to do anything until after christmas. :cry:

Sorry. (Life calls).
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 6 guests