How to freeze rigidbody’s rotation X and Z?

FlowCanvas Forums Support How to freeze rigidbody’s rotation X and Z?

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3210
    CheapMeow
    Participant

    FlowScript
    As you can see, I want to freeze Rotation both X and Z, but I cant find a way to combine two constraint into one constraint, list or array and so on. How can I solve it?
    Thanks for your reply!

    Attachments:
    You must be logged in to view attached files.
    #3212
    nikitalino
    Participant

    maybe you can duplicate set constrains once more and connect z to it

    #3243
    CheapMeow
    Participant

    Sorry for my very late reply, i just give up at that time

    I could still explain why i give my issue now. As you can see, i seted constraint twice and there is only one constraint left at last.

    #3244
    CheapMeow
    Participant

    this is test image

    Attachments:
    You must be logged in to view attached files.
    #3246
    nikitalino
    Participant

    ye i see you cant choose both methods/it something related to enums.

    i tried to create null with rigidbody  with x and z checked and transfer its data to another object and it shows  integer 80/ but  if i connect integer it is an error. so you need to wait somebody more expirienced who can tell or show what to do / or you can use rude method and create null in assets with x and z checked and get its data and apply to object in game

    it was answer for standart scripting but dont know how to implement  https://answers.unity.com/questions/1093545/freeze-rigidbody.html

    Attachments:
    You must be logged in to view attached files.
    #3255
    CheapMeow
    Participant

    Thanks! Anyway, you reminded me it is a 1010000(2)

    #3263
    Gavalakis
    Keymaster

    Hello,

    I have just added some new nodes related to enum bitwise operations and attached the modified file for you here.
    You will be able to find the “OR”, “AND” and “INVERT” operators under the “Functions/Implemented/Operators/Flags” category. With the “OR” operator you will now be able to combine two different RigidbodyContraints (in your case) into one.

    Let me know if that works for you.
    Thanks!

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

    Attachments:
    You must be logged in to view attached files.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.