0
Answered

UseGravity. How to activate this in GC

eagleeyez 4 months ago in Game Creator updated by Marti (Lead Developer) 4 months ago 3

Example: I have a Spere with a Rigidbody attached and gravity is turned off and IsKinimatic is on.

When I press a button I want it to turn off IsKinimatic and turn on Gravity.

Enable Component or set active does not do this.

I need activate UseGravity true an activate IsKinimatic false.

I must be missing something here.

Unity version:
2019.3.0f3
Game Creator version:
1.1.8
Answered

Check out the Rigidbody action. You can toggle the Is Kinematic and the Use Gravity properties from there.

+1

Thanks, I am so stupid. It would be great to have a fuzzy search, so that when someone writes in Gravity then Rigidbody will show up as it is a part of that. But not important, it works and thats the main thing.


A fuzzy search is under development :-) Cheers!