Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jo Simard

Pages: [1]
1
DOTween & DOTween Pro / Re: DoTween errors: silently taken care of?
« on: September 24, 2015, 06:02:49 PM »
Thanks!
I tried disabling the safe mode by code, but editor windows have precedence!

Now it's working fine thanks!

2
DOTween & DOTween Pro / DoTween errors: silently taken care of?
« on: September 23, 2015, 11:55:29 PM »
Hi,
Does anyone knows a way to completely disable the silent error handling, at least in debug mode?

Quote
DOTWEEN :: An error inside a tween callback was silently taken care of > The object of type 'Image' 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.
UnityEngine.Debug:LogWarning(Object)
DG.Tweening.Core.Debugger:LogWarning(Object) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/Debugger.cs:26)
...

It is not helping me for debugging, I would really enjoy the regular stack trace...


3
DOTween & DOTween Pro / Re: DOTween Pro Path camera support
« on: September 23, 2015, 11:50:31 PM »
I think you can look into the answers of this post too:
http://forum.demigiant.com/index.php?topic=123.0

4
DOTween & DOTween Pro / Re: DOTweenPath orientation and rotation options
« on: September 23, 2015, 11:49:51 PM »
Thanks Aberdyne!
I'll look into the SetOptions()

For anyone wanting to add some furter path customization, I solved my issue by overriding the transform on each tween update:

Code: [Select]
GetComponent<DOTweenPath>().GetTween().OnUpdate(OnPathUpdate);

protected void OnPathUpdate()
{
    // Disables any other path orientation than the Y axis
    transform.localRotation = Quaternion.Euler(0, transform.localRotation.eulerAngles.y, 0);
}

5
DOTween & DOTween Pro / Re: Basic rotation question
« on: August 21, 2015, 06:45:00 PM »
Hi Marcus,
I suggest you parent your coin in an empty GameObject so you can move it around indenpendently from it's rotation behaviour.

Using DoTween Pro, you can set a infinite loop settings for a relative local Y rotation.
See my attached image for the hierarchy and the DoTweenPro component options.

Otherwise, you can add a component to your CoinRotation object and rotate it by code:
transform.Rotate(Vector3.right, 1.5f);

6
DOTween & DOTween Pro / DOTweenPath orientation and rotation options
« on: August 21, 2015, 06:23:56 PM »
Hi DoTween users,
I'm wondering if there is a way to lock my character X and Z rotation when he is following a path.
I would basically to make him only rotate on the Y axis,=,
This way Orientation "To Path" would not make it bank in weird way when he is going down stairs...

I am not sure how I can override the waypoints tween transform results after each frame...

In the "Path Tween Options", it would be nice to have checkboxes to decide which axis  can't be influenced by the Orientation settings,
or there is a way to do it programatically?

Cheers

7
DOTween & DOTween Pro / Re: DOTweenPath
« on: July 06, 2015, 11:11:35 PM »
Hi Daniele,
Thanks for the quick reply!

I did not know the Tween object enough, this makes sense!

I finally did a parallel mini-sequencer that pauses the path tween and do some actions, nothing fancy but it works!
Now I see how I could bind it with specific waypoints!

Also makes sense for the compilation time, hate having to wait hours to iterate!

Cheers
- Jonathan

8
DOTween & DOTween Pro / DOTweenPath
« on: July 03, 2015, 08:42:32 PM »
Hi,
I am playing with the DoTweenPath editor extension,  but using code I can't find documentation or how to:

  • Know when a waypoint is reached
  • Path progress (seconds, from total duration or at which at waypoint)
  • Set the playhead to a specfic waypoint
  • Set the playhead to a specific time

I feel that having the source code we could understand faster and extend/customize this feature for our games.
Greensock is a good business model example where members-only features always came with the source code.
I can also see more and more asset store developers are opening their source to gather more momentum and collaborators around their products.

Pages: [1]