LHJointsProtocol Reference

LHJointsProtocol.lua

Overview

LevelHelper 2 joint nodes conform to this protocol.

Instance Methods

findConnectedNodes

local  findConnectedNodes()
Discussion

Find the nodes connected by this joint based on the uuid of the nodes.

Declared In
LHJointsProtocol.lua

getCollideConnected

local  getCollideConnected()
Discussion

Get the joint collide connected state

Declared In
LHJointsProtocol.lua

getConnectedNodeA

local  getConnectedNodeA()
Discussion

Get the first node that this joint connect. May return nil if findConnectedNodes has not been called yet.

Declared In
LHJointsProtocol.lua

getConnectedNodeB

local  getConnectedNodeB()
Discussion

Get the second node that this joint connect. May return nil if findConnectedNodes has not been called yet.

Declared In
LHJointsProtocol.lua

getContentAnchorA

local  getContentAnchorA()
Discussion

Get the joint anchor A in content space

Declared In
LHJointsProtocol.lua

getContentAnchorB

local  getContentAnchorB()
Discussion

Get the joint anchor B in content space

Declared In
LHJointsProtocol.lua

getCoronaJoint

local  getCoronaJoint()
Discussion

Get the actual corona joint object from the LevelHelper joint node.

Declared In
LHJointsProtocol.lua

getLocalAnchorA

local  getLocalAnchorA()
Discussion

Get the first joint local anchor.

Declared In
LHJointsProtocol.lua

getLocalAnchorB

local  getLocalAnchorB()
Discussion

Get the second joint local anchor.

Declared In
LHJointsProtocol.lua
Last updated: 2015-3-15

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.