TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Can I set two different gravity ?
Pages:
1
Can I set two different gravity ?
RulezTeam
Posts: 319
December 02, 2018, 04:22:42 am
Hi,
can I set two different value of gravity, or set to a specific actor its gravity ?
Thank you
merrak
Posts: 2738
December 02, 2018, 03:55:32 pm
You can implement gravity manually instead of using the scene. Each engine tick (in an always event) add
G / (step size * step size )
to the actor's y velocity, where G is your chosen gravity.
`/\=======/\"-
Website! -
http://www.anorthogonaluniverse.com
Facebook -
http://www.facebook.com/rlwatson
Twitter -
https://twitter.com/merrak
Pages:
1