Giter Site home page Giter Site logo

Comments (10)

nailuj05 avatar nailuj05 commented on June 3, 2024 2

Thank you for pointing it out. Otherwise I wouldn't have noticed, that I forgot to swap out the collision meshes for the non-blender meshes! :)

from fusionwater.

nailuj05 avatar nailuj05 commented on June 3, 2024 1

I will look into it and recompile the package. For the mean time you can download the package via github directly as a zip and import that into Unity.

Thank you for contributing :)

from fusionwater.

rfadeev avatar rfadeev commented on June 3, 2024 1

Thank you for the fix! The issue does not reproduce with 0.1.6 release .unitypackage. Yes, I did not have Blender installed.

from fusionwater.

nailuj05 avatar nailuj05 commented on June 3, 2024

Is fixed in newst release (v0.1.5)
Thank you for contributing!

from fusionwater.

rfadeev avatar rfadeev commented on June 3, 2024

Great, thank you! Sad that it cannot be used as Unity Package Manager package anymore.

I player around with example scenes and observed following (Unity 2019.4.18f1):

  • All three scenes have missing script on "Main Camera" game object
  • "BoatExample" scene gets boat fall through water in playmode
  • "Water example" scene gets two cubes fall through water in playmode

from fusionwater.

nailuj05 avatar nailuj05 commented on June 3, 2024

Yeah, I will look into getting a proper package manifest setup soon. The script on the main camera can be deleted. That is the Universal Camera Addon Script, that is requierd on any URP Camera. Should not cause and error though.

I wasn't able to reproduce your error with the objects falling through though.
I guess it might be because you have collisions between "Water" and "Default" Layers turned off.

Maybe look into your physics settings if you can change it or assign the water to a different layer.

from fusionwater.

rfadeev avatar rfadeev commented on June 3, 2024

I see, thank you for the info! Since the inspector does not show the missing component type, I did not know it was Universal Camera Addon Script. Looking forward to the package then!

Regarding fall through: collision between "Water" and "Default" layers is on.

For "BoatExample" scene it seems to be caused by missing reference to mesh in mesh collider component of "TestBoat" prefab (both for instance in the scene and for prefab itself). For "WaterExample" scene I have no idea, "Cube" and "Cube (1)" fall through while "Cube (2)" does not. Seems to relate to initial height above the water, if I make the closer to it - they stop falling through.

from fusionwater.

nailuj05 avatar nailuj05 commented on June 3, 2024

Interesting. Can you maybe send me the scene or project in which it was happening?
Would help me trying to reproduce it.

from fusionwater.

rfadeev avatar rfadeev commented on June 3, 2024

Sure thing, it is empty Unity 2019.4.18f1 project created from 3D template. Then imported 0.1.5 FusionWater .unitypackage. Then entered playmode for "WaterExample" scene from "Assets\FusionWater\Scenes".

Here is the project: FusionWater.zip

from fusionwater.

nailuj05 avatar nailuj05 commented on June 3, 2024

This should be fixed now. I modelled the meshes in blender. If blender is installed unity can convert them to fbx meshes and use them on runtime. I later updated them to be fbx meshes by default but forgot to change the colliders' mesh aswell. This means, if you don't have blender installed (which i guess is the case) there will be no collision mesh. This should be fixed in the newest release.


I will also be looking into a assetstore release and try to make the package available via the package manager again!

from fusionwater.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.