Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Circular Gravity Force

Discussion in 'Assets and Asset Store' started by LaneMax, Dec 13, 2013.

  1. LaneMax

    LaneMax

    Joined:
    Aug 12, 2013
    Posts:
    188
    Yep, the assets are still supported and work with the newest Unity versions. CGF is feature complete... there is a change that I might start work on the new Unity physics types when they are released, but will have to wait tell Unity has then in the wild. SSS has a few updates coming out that support more Unity 2D and 3D joint types. Hope this helps

    Cheers
     
  2. InfiniteDesign8

    InfiniteDesign8

    Joined:
    Aug 22, 2017
    Posts:
    29
    Platformer pro 2 is using it's own physics, no ridgidbody...any idea on work around?
     
  3. LaneMax

    LaneMax

    Joined:
    Aug 12, 2013
    Posts:
    188
    CGF only work with Unitys physic, the only workaround that I can think of is you'll need to add a Unity ridgidbody 2d or 3d, and a Unity collider 2d or 3d in order for it to work. I'm not really familiar with Platformer pro 2 so don't really know to main details on that end, don't know if this helps or not. Let me know if you make any progress

    Cheers
     
  4. PunkPuffin

    PunkPuffin

    Joined:
    Jun 17, 2018
    Posts:
    14
    Than
    Thanks for the reply. Purchased both SSS and CGF

    Look forward to have a bash with some ideas
     
  5. LaneMax

    LaneMax

    Joined:
    Aug 12, 2013
    Posts:
    188
    Cool, good luck!
     
  6. PantrrBleue

    PantrrBleue

    Joined:
    Aug 16, 2019
    Posts:
    2
    Hello,

    I would need help regarding the rotation of an object placed on a sphere / planet. I would like to make sure that the player (a capsule) can turn around the planet without falling himself, here are some drawings to illustrate what I need ... It's a 3d game but the drawing is done in 2d to make it more understandable. Thank you in advance for your reply upload_2020-1-17_19-17-39.png
     
  7. wayneh654

    wayneh654

    Joined:
    Nov 25, 2012
    Posts:
    13
    Hi Pantrr.
    Take a look at a add-on in the Assets store called CGF (Circular Gravity Force). It will do what you are after here and so much more.
     
  8. sancha-km

    sancha-km

    Joined:
    Jun 5, 2016
    Posts:
    30
    Hi,
    1. All is working cool in Editor, but in build after 1-2 minutes of using CGF(magnets) some objects dissappear
    2. This is characters with ragdoll, (puppet master asset) and primitives with rigid body
    3. On magnets i create a link between two, to throw objects from first to second magnet, (change collider in script in first on second magnet).
    4. Primitives created in Probuilder(integrated in Unity standart tool in 2019)
    5. Unity 2019.2f1
    Why this can happen?

    Fixed problem - this happens when i deactivate gameobject with CGF script, if keep it active and set Force power\Size to zero, all is working fine.
     
    Last edited: Apr 26, 2020
  9. eTech3D

    eTech3D

    Joined:
    Feb 2, 2014
    Posts:
    18
    Hello @LaneMax
    May I know the name of the song in the trailer,
     
  10. LaneMax

    LaneMax

    Joined:
    Aug 12, 2013
    Posts:
    188
    Hey eTech3D I got It off envato.com but it looks like its no longer available sadly
     
  11. LaneMax

    LaneMax

    Joined:
    Aug 12, 2013
    Posts:
    188
    New update is now live!

    5.2.0f1
    -- Added new Force Type 'Velocity', sets the velocity to the objects.
    -- Added new Force Type 'Angular Velocity',sets the angular velocity to the objects.
    -- Added 'Lerp Velocity' ability for when using the force types 'Velocity' and 'Angular Velocity' to lerp between the velocity of the current objects.
    -- Added 'Counter Gravity' effect to CGF. Keep in mind if CGFs are overlapping it will apply both counters. So recommend not overlapping CGFs unless that's the desired effect.
    -- Added 'Counter Gravity Multiplier'
    -- Added gizmo effect for when using Counter Gravity to see the gravity values in the area.
    -- Bug fixed CGF effect no longer multiples itself when the rigidbody having child colliders and will only applied itself once per rigidbody.
    -- Bug fixed when CGF force equaled zero no longer turns off the CGF effect.
     
    Last edited: May 14, 2020
    julianr, hopeful and Virtuadreamer like this.
  12. eTech3D

    eTech3D

    Joined:
    Feb 2, 2014
    Posts:
    18
    Thank you @LaneMax
     
    LaneMax likes this.
  13. ZigmundDaal

    ZigmundDaal

    Joined:
    Jul 27, 2020
    Posts:
    1
    Hello, i've got a question, I'm trying to make a space related videogame and i was looking for gravity manipulation assets and i just saw yours but i haven't tried it yet, in the trailer i saw that there's only vehicles, there's any way to play with a 3rd person character like super mario galaxy?
     
unityunity