Harry
Member
|
Joints works weird after last update
Hi,
I've got some problems with sliding joints after last update. In tutorial they work ok, but in my app when I go near doors (I use joints to move doors left and right, code looks similar to Doors source) they falling down (I think because AG_DOOR actor group) and circle around some point in world. There are some changes with it?
|
|
01-31-2013 03:10 PM |
|
Esenthel
Administrator
|
RE: Joints works weird after last update
Are you using EE 1.0 or 2.0?
What does Physics.engine() return ? PHYS_ENGINE_PHYSX2 or PHYS_ENGINE_PHYSX3?
|
|
01-31-2013 05:06 PM |
|
Harry
Member
|
RE: Joints works weird after last update
I'm using EE 1.0 and Physics.engine() shows PHYS_ENGINE_PHYSX2.
|
|
01-31-2013 07:02 PM |
|
Esenthel
Administrator
|
RE: Joints works weird after last update
Hi, I don't recall any changes for joints in physx 2, can you modify sdk tutorial to reproduce the issue, and provide that code?
thank you
|
|
01-31-2013 07:04 PM |
|
Harry
Member
|
RE: Joints works weird after last update
I've found what was wrong. I set anchor position as scale*phys->box.cornerLDF() (I get box similar as in Door sources) and it gives wrong Vec.
anchor=actor.box().cornerLDF(); resolves the problem.
|
|
01-31-2013 07:37 PM |
|