Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: heavygunner on September 08, 2018, 06:14:20 PM
-
Hi !
I am new. Learning Playmaker.
Created a Donkey Kong prototype.
I am facing Issue on Barrel Spawn Mechanism.
I set a trigger collider. Once barrel triggered that, new barrel will spawn on spawn point.
Suddenly, 6th barrel spawned is not moving. Also barrel also rolling damn slow. How to increase the speed?
Pls check video. Play x2 speed.
Thank You
-
Barrels fall thanks to gravity I guess.
Either you make steeper floor inclination, or you will have to change the gravity value.
-
Hi,
your 6th barrel not moving is really weird...
also, to replicate Donkey King barrel, plain physics will not be enough, you will need to adjust the barrel speed and direction as it hits or leave a platform.
-- when it leaves a platform, give it a push down in force using acceleration or velocity ( not force) so that it goes down quicker.
-- when it touches the new platform, give it a push on the direction is should roll, so that it doesn't keep on rolling with its momentum in the wrong direction.
-- also play with mass and physics material to have it rebound slightly when it fall onto a new platform.
then, you'll be closed to the DK's barrel behavior.
Bye,
Jean
-
Hi,
your 6th barrel not moving is really weird...
also, to replicate Donkey King barrel, plain physics will not be enough, you will need to adjust the barrel speed and direction as it hits or leave a platform.
-- when it leaves a platform, give it a push down in force using acceleration or velocity ( not force) so that it goes down quicker.
-- when it touches the new platform, give it a push on the direction is should roll, so that it doesn't keep on rolling with its momentum in the wrong direction.
-- also play with mass and physics material to have it rebound slightly when it fall onto a new platform.
then, you'll be closed to the DK's barrel behavior.
Bye,
Jean
Yay !
Just completed my Donkey Kong :D
BTW, How to set friction details via PlayMaker?
Will start to work on Mario Prototype next :)
-
Hi,
Good point, I just made them, they are now on the Ecosystem:
GetPhysicMaterialProperties
SetPhysicMaterialProperties
with these two you can set and get any of their properties.
Bye,
Jean