upbge icon indicating copy to clipboard operation
upbge copied to clipboard

bge.constraints don't work with non-current objects.

Open rpaladin opened this issue 4 years ago • 2 comments

Example.

bge.constraints.getCharacter("Object_Name").jump() doesn't work with non-current scene objects.

& in case your wondering - yes, the target object has physic type set to 'Character'. Discovered the bug in 0.25a - haven't checked in 0.3 but I assume it's the same.

rpaladin avatar Dec 06 '20 22:12 rpaladin

hello, 0.3 has not several scenes at the same time.

youle31 avatar Dec 07 '20 00:12 youle31

Right. Any work around for 0.2 tho? If normal KX_GameObject methods work for external scenes, I see no reason why constraint methods shouldn't also be able to also.

rpaladin avatar Dec 07 '20 19:12 rpaladin