Slate Integration

NodeCanvas Forums General Discussion Slate Integration

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10846
    AVOlight
    Participant

    Just Purchased Slate today very excited πŸ™‚ Had no idea it existed

    wondering if there are any plans to add “Play Cutscene with specific actors replaced” functionality between NodeCanvas and Slate
    i guess the dynamic actors would be setup targeting a prefab instead of a gameObject in scene?

    I’m trying to find a solution for creating creature interactions fast, and the dynamic nature of Slate makes so much more sense over using Mecanim. Also the benefit of seeing the multiple actors animated at the same time with the live preview is great!

    Dynamic animations clips is something i’d pay more for if it’s outside the scope of Slate
    e.g. animating a vector and setting a key to a target variable, from one of the actors or a blackboard variable etc..

    #10847
    Gavalakis
    Keymaster

    Hello,

    Thanks! I am glad you like it πŸ™‚
    Sure, I will update the tassk soon to be able to specify the target actors dynamicaly through the NodeCanvas actions, either directly or through variables of course. I will also add a toggle foreach of those actor, to set if they are to be instantiated (for prefabs) or simply used.

    Can you please expand a bit on the last part of your suggestion. I am not sure I understand that πŸ™‚

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #10849
    AVOlight
    Participant

    Thank You πŸ™‚

    sorry about my example,

    Say i add a “Curves Track” on a cube
    scrub the track to 7 seconds
    and move the cube, keying the position on the track
    what if instead i could key the position to a variable
    like a vector property on a second actor

    right now the few interactions in my game are hard-coded,
    and i had to line up multiple animators on each actor (i have animators on separate body parts)
    i struggle a lot with the programming and it really doesn’t make sense to me that an interaction is something to program
    feel like all data should be completely separate from the logic

    #10853
    Gavalakis
    Keymaster

    Hey,
    Now I see what you mean.
    I think what yo want is already possible for floats, by using the clip under “NodeCanvas/Set Blackboard Variable Float”. This clip is able to animate a float variable by keying it like normal. This clip is available in the NodeCanvas – Slate downloadable extension.
    Please check it out and let me know if that is what you mean. If so, I can add more similar clip for more types πŸ™‚

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #10855
    AVOlight
    Participant

    Yes thanks for that πŸ™‚

    thats kinda what i was meaning but the β€œNodeCanvas/Set Blackboard Variable Float” uses a static float value

    i’ll give a full example
    say i have 3 cubes (which are all actors of the animation)
    cube A is keyed at 1s to move to 1,0
    cube B is not keyed to any position and can be moving or not moving (e.g. player controlled)
    cube C is keyed at 1s to cube A’s position.x
    cube C is keyed at 1s to cube B’s position.y

    #10856
    Gavalakis
    Keymaster

    Hey,

    So, this is more a Slate thing rather than NC one as far as I can see :). Slate is built to be deterministic in a sense that what you see is absolutely what you get. As such, dynamic keying is something that needs to be avoided. What you probably mean instead of “keying” though, is to have some kind of constrains between object. Something that could be achieved with scripting and the [ExecuteInEditMode] attribute of Unity for example.
    I will see into creating a set of constrains and add them into Slate πŸ™‚

    Thanks.

    (by the way, please move the discussion to the Slate forums if you want to πŸ™‚ The same forum account credentials can be used in that forum as well.)

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.