new Physx

Re: new Physx

Postby ikam » Tuesday, 22.July 2014, 07:19

yea, I'm going to review this operators.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new Physx

Postby Skinnytorus » Tuesday, 22.July 2014, 08:47

If I were you I would also think of some modes for particle renderers. For example,
1) Chunks renderer can't rotate particles around their travel path (instead it uses world axes for rotation).
2) Sprites can't be oriented along travel path at all...
3) Trails can't natively trace particles from their birth position (especially child particles).
Those are just classic motion graphics effects, and since we want wz4 to RULE THE GALAXY, we should show some respect to the canon. ;)
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new Physx

Postby ikam » Tuesday, 22.July 2014, 15:10

Added fromvertex and fromchunks build modes for rigidbody.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new Physx

Postby Skinnytorus » Tuesday, 22.July 2014, 16:29

Great! Any test files to play with?
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new Physx

Postby Skinnytorus » Tuesday, 22.July 2014, 17:52

OK. I could cobble together a simple setup. The colliders are there, but when stacked with physx op below, the whole scene disappears. Why is that?
You do not have the required permissions to view the files attached to this post.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new Physx

Postby ikam » Tuesday, 22.July 2014, 18:36

it's your transform yellow operator remove it, use rigidbody transform control instead to set initial pose.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new Physx

Postby Skinnytorus » Tuesday, 22.July 2014, 18:55

OK. I see now. Thanks.
I noticed a weird thing: When you stop sim, click somewhere further in timeline (i.e. put the red bar ahead in time), next time you press F6, the sim runs very fast. Same thing happens if you press F5 to stop and then F5 to continue. IMO the sim should run at normal speed then...

Edit: Please, update wiki for RB operator. The first input accepts wz4render as well as wz4 mesh.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new Physx

Postby ikam » Tuesday, 22.July 2014, 20:02

yes, I know for the sim time acceleration at restart, it's a problem with accumulated time for real time mode... I'm searching a solution.

Skinnytorus wrote:Edit: Please, update wiki for RB operator. The first input accepts wz4render as well as wz4 mesh.


wiki is auto generated from input type. This is a normal behavior that rigidbody can take wz4render (wz4mesh is compatible with that and extracted), because you can put here other things than meshes likes sprites, chunks or any other wz4render node operators, it's a new feature from the previous physx version ;)
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new Physx

Postby ikam » Tuesday, 22.July 2014, 20:08

ex
You do not have the required permissions to view the files attached to this post.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new Physx

Postby Skinnytorus » Tuesday, 22.July 2014, 20:40

OK. I will continue tomorrow.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new Physx

Postby Skinnytorus » Wednesday, 23.July 2014, 10:20

Please, check Plane primitive collider transforms. Size, Trans and Rot in Collider operator don't work for Plane primitive. In RB only rotation works...
Edit: The new RB modes work OK so far.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new Physx

Postby ikam » Wednesday, 23.July 2014, 15:55

physx plane collider are infinite (it's not a grid with border limites as displayed), size and trans are just here as helper to preview the plane collider shape to resize or translate to visualize scene. Only rotation are used in collisions. rotation is broken ?
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new Physx

Postby Skinnytorus » Wednesday, 23.July 2014, 16:23

It's collider's rot.x that's broken. See for yourself.
You do not have the required permissions to view the files attached to this post.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: new Physx

Postby ikam » Sunday, 27.July 2014, 07:54

I'm adding joints. What's is good in this new version is that joints can be created in the op hierarchy (support multiplication).

but it's not easy to find a friendly user interface to specify connect rules between bodies. here a first attempt. If you have any idea to improve that.
You do not have the required permissions to view the files attached to this post.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: new Physx

Postby Skinnytorus » Sunday, 27.July 2014, 11:28

Yeah... I see you've fixed the timeline! That's fantastic. Great many thanks, man! :)
As for the joints, I like this approach. A couple of questions right off the bat:
1) how to control distance between joints?
2) Multiply controls under the child mesh seem useless (and they occasionally crash wz4). Is that the correct behavior?
3) I also wonder how you are planning to implement more complex hierarchies: chains, ropes etc. I mean... this will require more joint operators, right?
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46


Return to Development and contribution



Who is online

Users browsing this forum: No registered users and 1 guest

cron