Search Unity

Antares Project (Open Source) : 1.5.5 Coming soon

Discussion in 'Assets and Asset Store' started by Neodrop, Apr 30, 2010.

  1. Unislash

    Unislash

    Joined:
    Jan 4, 2011
    Posts:
    33
    Neodrop,

    Awesome stuff! Keep going!

    I can't seem to get the "Make Brush" function to work. I select the object, click Make Brush!, it turns blue, and then... nothing happens. I can click around in the Scene and nothing.

    Also, is there a link to 1.5.6? :-D

    Cheers,
    Unislash
     
  2. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Sorry - it is broken in current version. But fixed in next one.
     
  3. davebuchhofer

    davebuchhofer

    Joined:
    Nov 9, 2007
    Posts:
    126
    Nice work Neo, finally getting a chance to play with this.. looks like some really useful stuff in there!

    Question: with the dublicator, is there a way to copy the values from 1 MonoBehavior to another without linking the two together as instances?
     
  4. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Yes, sure. You don't need to link any components. Just two right buttons click. Copy - Save - Yes
     
  5. Unislash

    Unislash

    Joined:
    Jan 4, 2011
    Posts:
    33
    :-( Sorry to hear that it's broken... it's exactly what I have been looking for. Any guess on when you'll 1.5.6 will be done? I'm trying to see if I should re-make it or just wait for you to release the fixed version :)

    Again, great stuff!

    Cheers,
    Unislash
     
  6. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Open AntaresGameObjectCustom.cs
    Find this line :
    if (brushParent) DestroyImmediate(brushParent);
    replace to
    //if (brushParent) DestroyImmediate(brushParent);
     
  7. Unislash

    Unislash

    Joined:
    Jan 4, 2011
    Posts:
    33
    Done. Didn't appear to change anything though. I hit Make Brush! and it still just draws a blank inspector and nothing happens as far as I can see.

    Thanks for the help! I'd love to get this working :)

    Cheers,
    Unislash
     
  8. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Well, sorry - wait a bit.
     
  9. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    hello,
    if I use Antares in a new project it works, while if I import the package in an existing project I receive the following error message:
    Assets/Antares/Scripts/Bezier/Curve.cs(18,50): error CS0117: `Path' does not contain a definition for `DirectorySeparatorChar
    I have unity3d v.3.1
    Any suggestion?
    Thanks and I will for sure donate something as soon I will solve this issue, because you are doing a great effort.
    Stefano
     
  10. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Last build of VIZIO supports only Unity 3.2
     
  11. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
  12. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    fixed. there was another script called path. deleted it evrything is ok.
    I am using move on curve sample, but my characters move walking back. He follows the curve but is orientation is wrong.
    thanks
     
  13. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    fixed also orientation.
    another question: is it possible to create the points of the curve so that they are on terrain? It is not easy to move the points and make them perfectly disposed on the terrain.
    thanks again
     
  14. PROTOFACTOR_Inc

    PROTOFACTOR_Inc

    Joined:
    Nov 15, 2009
    Posts:
    4,054
    Maybe i'm wrong but have you tried to "make brush" your curve point ( it's automatically align and duplicate an object according to normal). But i'm not sure it's possible to create different points and then link them so that it create your curve ... i've not used antares enough for the moment ...
     
  15. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    thanks. Brush seems not to work.
     
  16. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Use link above
     
  17. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    Installed the new package and have used the "curve improved function". The points are correctly on the ground but the moveoncurve.cs script doesn't work withh the new curve.
    thanks for your quick response!
     
  18. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Yes. Old Curves API not supported. I have no time to do it. Sorry.
     
  19. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    ok thanks!
     
  20. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    how can I modify moveoncurve.cs to use it with the curve improved function?
     
  21. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Just use AntaresBezierCurve.GetCurvePoints() to get a curve points array. That all, what you need to make motion over curve.
     
  22. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    Do I have to put it inside moveoncurve.cs?
     
  23. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    I don't understood a bit. Let me a repro-project. I'll try to find a time to fix it.
     
  24. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    the points of curve improved are ok on the ground, but if I use moveoncurve.cs with the curveimproved the character doesn't move.
     
  25. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    Do you have a Paypal account for donation?
    thanks
     
  26. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Sorry - PayPal is a big pain in ass for Russia. Thanks for your wishes.
     
  27. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    ok I will use your payment system
    any news about moveoncurve.cs with curveimproved function?
     
  28. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Give me a short demo-project. I have forget where is a moveoncurve.cs
     
  29. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
  30. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    At first, your demo is created in not Unity 3.2
    When I import it, I have a lot errors. But, when i import last Antares build, all fine.
     
    Last edited: Feb 23, 2011
  31. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
  32. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    it is not my demo. It is YOUR DEMO!!!! I know it works and it was my start point but I have 2 problems

    * points created with mouse click with standard curve are not on the ground of the terrain and if I try to adjust them to stay exactly on the ground, I fixe them but the points on the interpolated curve are not (there is no way to adjust the points on the interpolated curve); with this kind of curve moveoncurve.cs script works, but the character sometimes is higher than terrain, sometimes is under of it

    * if I use instead the "curve improved" the points are correctly on the ground but the script moveoncurve.cs doesn't work

    My final question:

    is there a way to use "curve improved" with moveoncurve.cs script?

    Thanks
     
  33. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
  34. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    Yessssss! That's the way I like it!!!!!
    Thanks so much, donation is really a must for the work you are doing.
     
  35. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    donation ok! It was possible from 2Checkout to pay with Paypal indeed. This is my first and I think there will be other. Thanks
     
  36. CrunchingKoalas

    CrunchingKoalas

    Joined:
    Mar 29, 2011
    Posts:
    51
    Hi !

    I'm trying to add a new Point to the Improved Curve - is it possible in the version You posted recently ? I mean - Antares 1.5.6 ? I was able to build a Improved Curve from Menu, but I'd like to do it from script - is it possible ?

    Second question - is it possible to Turn On the Line Renderer component on runtime ? Is it going to be visible in the game release (build)?


    Btw - The project looks really nice - lots of cool stuff in it. ;)
     
    Last edited: Mar 29, 2011
  37. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Yes, you can add new point by creating new AntaresBezierTriple objects and adding it in AntaresBezierCurve._points array. Unfortunately, I haven't a ready-to-use interface for it. You can look at BezierCurveEditor to understand how to do it.

    Yes, you can easy add LineRenderer at runtime. Just receive the Curve points list and use it to assign LineRenderer settings. It's very easy to do with AntaresBezierCurve.GetCurvePoints method.
     
  38. minevr

    minevr

    Joined:
    Mar 4, 2008
    Posts:
    1,018
    Open Source..Nice!
     
  39. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    Hi Neodrop,
    I have a character moving backward on an improvedcurve. I do not find a way to make him walk in the right direction.
    Any suggestion?

    Thanks
     
  40. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Well, I don't know why your character walk in this way ;)
    Make a repro-project and post it here.
     
  41. maidamedia

    maidamedia

    Joined:
    Nov 19, 2009
    Posts:
    224
    Hi neodrop,
    I want different characters sharing the same curve (I am using improved curve), but they start all together at point_0.
    I would like them to start at different points. How can I do this? Thanks
     
  42. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Well - all in your hands. Just correct your code.
     
    Last edited: Jun 22, 2011
  43. juanelo

    juanelo

    Joined:
    Jan 28, 2011
    Posts:
    46
    Just to make sure,
    When working with the Improved Curve, Curve.cs is no longer being used AT ALL, correct? None of the methods described in the documentation will work, unless we port these features from curve.cs into AntaresBezierCurve.cs, correct?
     
    Last edited: Jun 28, 2011
  44. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Curve.cs do not controll Inmproved Curve
    It's different tools.
     
  45. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Reloaded and ready for 3.4
     
  46. colakyngo

    colakyngo

    Joined:
    Aug 22, 2011
    Posts:
    1
    Hi,

    Thanks very much for this comment. It help me to think about my ideals.

    Tks again and pls keep posting.

    If you want to get more materials that related to this topic, you can visit: Project editor job description

    Best regards.
     
    Last edited: Aug 29, 2011
  47. Demostenes

    Demostenes

    Joined:
    Sep 10, 2010
    Posts:
    1,106
    How does this work? I am able to paint only one object (or group) and it always disappears when clicking to paint other, I see this error message:

    MissingReferenceException: The object of type 'Transform' has been destroyed but you are still trying to access it.
    Your script should either check if it is null or you should not destroy the object.
    AntaresGameObjectCustom.MoreOptions () (at Assets/Antares/Editor/AntaresGameObjectCustom.cs:371)
    AntaresGameObjectCustom.OnInspectorGUI () (at Assets/Antares/Editor/AntaresGameObjectCustom.cs:179)
    UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/Inspector/InspectorWindow.cs:495)
    UnityEditor.InspectorWindow.OnGUI () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/Inspector/InspectorWindow.cs:190)
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)


    Thanks.
     
    Last edited: Sep 1, 2011
  48. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Did you have the last version? 1.5.6
    I have no errors in brush. But yes, something changed again in Unity Editor and this feature are not working correctly now. I will fix it. Thank you.
     
  49. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Fixed and reloaded. Also I have fixed small bug in Curve Improved.
    Thank to all, who help me to find it.
     
  50. Demostenes

    Demostenes

    Joined:
    Sep 10, 2010
    Posts:
    1,106
    Wow, thats reaction time! Your fix works, thanks a lot, it will save us lots of time.