Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial?
#12
(19-09-2020, 04:24 PM)Havie Wrote: Sorry but Im still confused. The "Phase Value" is on the "Obi Collider". You just said not to use a collider and a softbody at the same time?

I previously read the bit about collisions requiring different phase values, which is why I added an Obi Collider to the same gameobject that has my softbody. Its the only way I can see a field for a "phase" value.

Quote from the collisions page in the manual/docs, in bold the important bits:
http://obi.virtualmethodstudio.com/tutor...sions.html

Quote:Sometimes you want certain actors, or even only some specific particles to ignore a particular collider. You can use phases for this. Each ObiCollider has a "Collision phase" property, and particles have a "Phase" channel that you can set using the blueprint editor. Only colliders and particles of different phases will collide. Colliders and particles of the same phase will ignore each other. By default, ObiColliders are in phase 0 and particles in phase 1, so they will collide right away.

Rephrasing this: both colliders and particles have a phase value. The phase for a collider is set in the ObiCollider component. The phase for a particle is set in the blueprint editor. Its one of the per-particle channels that you can set using the particle selection tool, or paint using the property painting tool.

(19-09-2020, 04:24 PM)Havie Wrote: I've gone hunting for other locs for a phase value, I tried editing the blueprint im using, but saw nothing in there. Still don't understand this section at all. I feel like more indepth video tutorials would really help Obi

In the blueprint editor, there's a "properties" section (both in the selection and painting tools) with a dropdown that lets you select which per-particle property you want to edit. Among these properties there's "Phase".

[Image: efuvquc.png]

In the page for softbody blueprints there's a rundown of all properties:

http://obi.virtualmethodstudio.com/tutor...setup.html

Quote:You can get/set any property of the currently selected particles:

Mass:
Particle mass. Determines how the particle behaves when involved in any constraint (collision, distance, bending...) with another particle or a rigidbody.
Radius:
Particle radius. Mainly used for collision detection.
Phase:
Particle phase, used to determine when collisions with rigidbodies and other particles should be ignored. For an in-depth explanation, see collisions.
Color:
Particle color. Useful to store additional info, or to be used in custom rendering.

Now, note that you don't need to have different blueprints if all you want is to have multiple actors using the same blueprint, with a different phase for each one. You can set the phase values for the particles at runtime too, check out the included BallPool sample scene.

(19-09-2020, 04:24 PM)Havie Wrote: I feel like more indepth video tutorials would really help Obi

You're totally right. I know there should be more video tutorials, but writing, recording and editing a video tutorial takes a lot of time, much more than generating written documentation. I'm a one-person team, so I have to carefully choose where to spend the time I devote to Obi to make the most out of it: maintaining the code, developing it further, supporting users, writing docs, maintaining the forums/webpage, etc. In the last update (5.6) I included one more sample scene for each asset, a more complex/complete one (kind of a mini-game) because that's what users demanded for a long time. The other most popular demand by far is "make more video tutorials", so you're backed up by lots of people. Rest assured that I will. Sonrisa
Reply


Messages In This Thread
Tutorial? - by Havie - 13-09-2020, 10:24 PM
RE: Tutorial? - by josemendez - 14-09-2020, 08:06 AM
RE: Tutorial? - by Havie - 16-09-2020, 09:00 PM
RE: Tutorial? - by josemendez - 16-09-2020, 10:18 PM
RE: Tutorial? - by Havie - 17-09-2020, 08:10 PM
RE: Tutorial? - by josemendez - 18-09-2020, 07:01 AM
RE: Tutorial? - by Havie - 18-09-2020, 12:14 AM
RE: Tutorial? - by josemendez - 18-09-2020, 07:10 AM
RE: Tutorial? - by Havie - 18-09-2020, 09:12 PM
RE: Tutorial? - by josemendez - 18-09-2020, 09:44 PM
RE: Tutorial? - by Havie - 19-09-2020, 04:24 PM
RE: Tutorial? - by josemendez - 19-09-2020, 05:32 PM
RE: Tutorial? - by Havie - 19-09-2020, 10:41 PM
RE: Tutorial? - by josemendez - 20-09-2020, 12:57 AM
RE: Tutorial? - by Havie - 20-09-2020, 01:21 PM
RE: Tutorial? - by Havie - 20-09-2020, 04:18 PM
RE: Tutorial? - by josemendez - 20-09-2020, 07:20 PM
RE: Tutorial? - by Havie - 21-09-2020, 07:02 PM
RE: Tutorial? - by josemendez - 21-09-2020, 08:03 PM
RE: Tutorial? - by josemendez - 22-09-2020, 02:21 PM