Latest Threads |
Scripting rod forces
Forum: Obi Rope
Last Post: chenji
3 hours ago
» Replies: 25
» Views: 2,345
|
Burst error causing crash...
Forum: Obi Rope
Last Post: josemendez
Yesterday, 07:03 AM
» Replies: 1
» Views: 90
|
Controlling speed of emit...
Forum: Obi Fluid
Last Post: josemendez
06-09-2025, 06:29 AM
» Replies: 1
» Views: 310
|
Looks nice on editor but ...
Forum: Obi Fluid
Last Post: josemendez
04-09-2025, 07:20 AM
» Replies: 3
» Views: 602
|
How to Shorten or Scale t...
Forum: Obi Rope
Last Post: josemendez
02-09-2025, 09:53 AM
» Replies: 5
» Views: 688
|
The Limitation of Using O...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 10:30 PM
» Replies: 1
» Views: 445
|
Bug Where a Straight Segm...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 08:46 PM
» Replies: 1
» Views: 444
|
Having an issue with obi ...
Forum: Obi Rope
Last Post: Ben_bionic
29-08-2025, 04:23 PM
» Replies: 4
» Views: 905
|
Non-uniform particle dist...
Forum: Obi Rope
Last Post: chenji
29-08-2025, 09:05 AM
» Replies: 4
» Views: 780
|
Is it possible to impleme...
Forum: Obi Rope
Last Post: chenji
27-08-2025, 10:13 AM
» Replies: 2
» Views: 701
|
|
|
Obi rope with Photon Fusion 2 disconnects from attachment |
Posted by: Paul1 - 07-10-2024, 04:38 PM - Forum: Obi Rope
- Replies (4)
|
 |
I need to spawn objects in runtime, so everything needs to be a prefab. When creating a scene, I instantiate obi rope and spawn 2 plugs, that I can pick up, I connect them to the rope and that is it. On host: Everything works fine, on client: rope gets disconnected from plug and starts to do some weird movement. That only happens when everything is instantiated in runtime.
SimulationBehaviour code:
Code: bool first = true;
public void OnPlayerJoined(NetworkRunner runner, PlayerRef player)
{
if (runner.IsSceneAuthority)
{
if (first)
{
runner.Spawn(prefab, new Vector3(1, 0.089f, 0));
runner.Spawn(prefab, new Vector3(-1, 0.089f, 0));
first = false;
}
runner.SetPlayerObject(player, runner.Spawn(playerPrefab, new Vector3(UnityEngine.Random.Range(-10, 10), 1, UnityEngine.Random.Range(-10, 10)), inputAuthority: player));
}
}
plug code (there is more code, but for this question, this is the important part. Parent is in main project something else, this is just for testing):
Code: Transform parent;
Rigidbody rb;
private void Start()
{
parent = transform;
rb = parent.GetComponent<Rigidbody>();
if (a.Att1.target == null)
{
a.Att1.target = transform;
}
else
{
a.Att2.target = transform;
}
}
public void Pickup(Transform hand)
{
rb.isKinematic = true;
rb.useGravity = false;
parent.SetParent(hand);
parent.localPosition = Vector3.forward;
}
public void Release()
{
rb.isKinematic = false;
rb.useGravity = true;
parent.SetParent(null);
}
I also set the Time.timeScale = 0 at start of creating the scene, and at the end back to 1.
Here is a video for better understanding of the problem: [color=var(--theme-link-color-hover, var(--theme-secondary-500))]https://drive.google.com/file/d/1P0H2jcFyjb4VeKeQxLUOMf9-ppuZqm9X/view?usp=sharing[/color]
|
|
|
Obi Fluid 7 for Apple Vision Pro |
Posted by: AguaRadio - 03-10-2024, 08:10 AM - Forum: Obi Fluid
- Replies (1)
|
 |
Hi there, hope you're doing good.
I wanted to inquire if Obi Fluid 7 works on Apple Vision Pro with the change from previous screen-space ellipsoid splatting to isosurface mesh extraction. Currently vision OS builds from Unity currently only support Single-Pass Instanced rendering so I'm curious if the team has tested this in house before I proceed further.
Thank you so much for your time.
|
|
|
Overlapping Obi Colliders too much causes the Compute backend to go mental |
Posted by: Nyphur - 27-09-2024, 10:36 AM - Forum: Obi Fluid
- Replies (3)
|
 |
OK, I have a truly bizarre one for you.
If you put enough Obi Colliders overlapping in the same place, even fully static box colliders, the Compute backend goes absolutely mental. It has some kind of overflow and starts adding random updraughts of force to particles in random areas, some near the colliders (but not touching) and some nowhere near it. Burst is unaffected.
I noticed it in a game where I have a level made out of modular parts and each Wall has an obi collider. I added some more colliders to the level and noticed that my fluid started randomly jumping up all over place and wouldn't stop. Even with the most aggressive smoothing, the fluid never reached a rest state and just kept jiggling. A ton of trial and error to find out that it's caused by obi colliders just being in the scene and switched on and not even necessarily near the fluid, and then I managed to recreate it by stacking enough colliders in the same spot.
Replication steps: - Create a new blank URP project
- Install Obi Fluid 7.03
- Launch Faucet And Bucket test scene and fix the scene materials
- Set the Solver to Compute back-end and the emitter to speed 6 and lifespan 8
- Edit the fluid blueprint to expand it to 12,000 particles and re-generate it
- Create a 3D Cube at coordinates Vector3(0.879999876,1.23000002,-2.41999984). Add an Obi Collider.
- Launch the Scene. Now duplicate the cube in place using Ctrl-D until you get to 16 cubes.
- When you get to 16 cubes, you'll see obvious jets shooting out of the fluid below and near the cube, and another jet randomly on the far edge of the fluid.
Experimentation:- If you disable the obi colliders on the cubes 1 at a time you can see the effect diminish with each one.
- If you move any of the cubes so that their colliders are no longer overlapping, they no longer contribute to the effect.
- If you move the group of cubes around or re-scale them all, it changes the characteristics of the random bits of force causing the jets
- Change the box collider size's y value on all the cubes slowly. When it hits 3, an entire quadrant of particles randomly jumps up in the air. Increase it further to just over 8.0, the effect disappears and everything goes back to normal. 8 world units tall seems to be a magic number, is that the unit size of the collider grid or something?
Expected Result: Not fluid going mental
Observed Result: Fluid going mental
|
|
|
Backface URP Material |
Posted by: vrtraining - 26-09-2024, 09:42 AM - Forum: Obi Cloth
- Replies (2)
|
 |
Currently only Builtin Pipeline Shader is available in OBI for backface. However the new URP allows to distinguish between front and back face and its working very well upto some extent but lighting is not working properly on backside of cloth in URP where we try to use URP Standard Lit with Backface option.
If we change our model add 2 side faces then it might not work in Obi Cloth Blueprint. Any idea how we can work with backfaces properly in URP or any shader or material that you can suggest us? any plans to support URP backface shader in future?
|
|
|
Reduce swinging of cloth |
Posted by: vrtraining - 24-09-2024, 08:12 AM - Forum: Obi Cloth
- Replies (1)
|
 |
Hi, I have created a piece of cloth with 2 points on its two top corners (left and right). The goal to grab the piece of cloth corners by both hands in VR (one left and other right) and use that cloth.
I use static attachment with VR controller objects when any cloth corner is grabbed, but when any corner not grabbed i switch that corner to dynamic attachment because I want that corner to fall down due to gravity and depict natural cloth behaviour (and disconnect that controller and put attachment in kinematic so its not effect by gravity of cloth which is now using dynamic attachment)
I have noticed one thing if I'm holding one corner of cloth (for example left corner with left controller) using static attachment, and other end of the cloth (right corner) is hanging down with dynamic attachment, that end swings even if i don't move my other left corner at top. Its like some ambient air is moving it back and forth.
To summerize my cloth is moving back and forth like air is blowing it. I have check there is no ambient wind. How i can make it stay and move little? Increase mass or which settings i need to work so that it doesnt swing much
|
|
|
Can I apply multiple blueprint files to one fbx file? |
Posted by: ziziza93 - 24-09-2024, 07:28 AM - Forum: Obi Cloth
- Replies (1)
|
 |
Hello, as shown in the attached picture, one clothing file is separated into several objects and meshes such as arms, neck, and torso.
I would like to apply a different blueprint file to each area, is it possible?
Based on the file in the picture, you can create and attach blueprint files to top_arm, top_waist, top_neck, and top_wrist, respectively!
There is a limit to the method of specifying the particle group within the blueprint, so I would appreciate it if you could answer if the above method is possible.
|
|
|
|