Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by DarkKobra2020 · Sep 06, 2011 at 11:33 PM · rigidbodybulletwaterblobsoftbody

Water Blob Bullet

Hi I'm having some difficulty with the effect I want to achieve.

I want the blob to come out of the gun now I can do that easily but I want the blob to be a softbody and RigidBody so it can collide with the ground and then smash releasing a particle effect (Splash) and then a texture spreads on the floor. How can I do this?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Muzz5 · Sep 07, 2011 at 08:10 PM 0
Share

$$anonymous$$etaballs could be worth looking into.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Waz · Sep 06, 2011 at 11:43 PM

Sorry, you can't write Portal2 by using soft bodies :-). You will not get adequate performance - unless your "bullet" is moving quite slowly. Just use an oblate sphere and make the collider smaller than the visual sphere so it seems to deform before it splatters. Or make it actually deform with a bit of scaling trickery.

Lots of Game Physics is just trickery like this.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by DarkKobra2020 · Sep 06, 2011 at 11:46 PM

Thank you so much very clever with portal reference yeah I'm gonna get a lot of that actually its an experiment to see how far I can push the physics but thanks anyway I shall try it and no I'm not creating Portal 2.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Waz · Sep 07, 2011 at 12:17 AM 0
Share

Never hurts to try.

(I didn't really think you were rewriting Portal2)

You probably meant this as a comment to my answer, not a new answer, BTW.

avatar image
0

Answer by Reavenk · Sep 07, 2011 at 07:58 PM

I just though of this idea so I'm not sure how well it would work, but... Create a sphere(ish) mesh, with its origin at the center and create bones at uniform intervals on the outside skin of the mesh so that vertices are weighted to nearby bones (more than one bone per vertex) by there radial distance. Then bring it into Unity and apply a sphere collider and rigidbody to all the outside bones. Connect them to the sphere mesh with spring colliders, make a script for all the bones to always have the same constant local rotation that they had when the game started. Then make all that a prefab that gets shot.

As far as an easy and elegant way? I don't think there is one for colliding softbodies in Unity.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

2D bullet changes direction based on player's world position? 2 Answers

Bullet Launcher Script 1 Answer

Shoot directions 2 Answers

Bullet hell - how to make a lot of bullets? 3 Answers

Rigidbody - bullets becomes bullethole image 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges