Announcement

Collapse
No announcement yet.

How to use SetEnableGravity(UnrealLua) ???

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to use SetEnableGravity(UnrealLua) ???

    Hello, how could I use this function: UPrimitiveComponent:SetEnableGravity? (https://dev.playonset.com/wiki/UnrealLua)

    I've tried many ways, I just haven't been able to figure out...

    #2
    Hey, I actually got the same issue, after setting my object Movable with SetMobility(), and setting gravity to true with SetEnableGravity() the object doesnt move toward the ground... nothing! So, I checked if physics are enabled with IsSimulatingPhysics() and it returns FALSE.
    AND calling SetSimulatingPhysics(true) leads to an error (not implemented yet i guess?)

    So...we can change if gravity is enabled or not, but default physics simulation are on false, and we cant enable physics simulation? I'm surely missing something :'(

    Comment


      #3
      Going to expose SetSimulatePhysics in 1.0.3

      https://docs.unrealengine.com/en-US/...ics/index.html

      Comment


        #4
        Nice ! I can't wait :')
        Thx for the answer :')

        Comment


          #5
          Very thanks Talos

          Comment


            #6
            Nice one!

            Comment

            Working...
            X