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 .
rude
Administrator
Posts: 1052 Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway
Post
by rude » Sat Nov 15, 2008 10:38 am
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?
Lord Tim
Prole
Posts: 30 Joined: Sun Jul 20, 2008 4:07 am
Post
by Lord Tim » Sat Nov 15, 2008 7:54 pm
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.
rude
Administrator
Posts: 1052 Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway
Post
by rude » Sun Nov 16, 2008 5:09 am
Jesus Christ, I've forgotten to specify the inheritance relationship in the SWIG files. So those functions are in fact not available.
I would love nothing more than putting a new release out there, but I don't have time to do anything until after christmas.
Sorry. (Life calls).
Users browsing this forum: Bing [Bot] and 6 guests