About Store Forum Documentation Contact
Donations:
178$/mo



Post Reply 
Joints works weird after last update
Author Message
Harry Offline
Member

Post: #1
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
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
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
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #3
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
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
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
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #5
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
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply