Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Dev_Sebas on September 01, 2011, 06:07:16 PM
-
My "Add force" is not working...
I do not know what happening where.It is all made as "trough grenade" example my prefab have rigidbody and mesh collider but when I shot my bullet falls ( do not have force ) :'(
Bye
-
Did you make sure "Is Kinematic" is unchecked? Also, you may try playing with the rest of the rigid body variables, and ensure you add a significant amount of force (1000+ depending on mass).
-
"Is Kinematic" was checked and I put unchecked thanks a lot by this Tim :)
But now my bullets says in air floating (seems they don´t have much force for go in front)
Bye any help or idea will be appreciated
-
Please if some people have some time help me. :'(
Bye
-
Can you post a screenshot of your Rigidbody settings? Use png or jpg so it show as an attachment...
-
Hi I have check a small error now in my rigid body "Use Gravity" was not checked and I put checked as "Trough grenade example" but now the bullet falls again ( seems don´t have force ) I put more force and reduce the mass of bullet but it continues don´t working
Bye hope it helps a bit
-
I am trying to find a solution and I think this is easy but it is not working.
Bye
-
Please help me :'(
Bye
-
Bump
-
Not sure what could be wrong... have you tried adapting the ThrowGrenade example? Email me your project and I'll take a look.
-
Send
Bye
-
You need to store the created bullet object in a variable then add the force to that object.
Make a GameObject variable in the Variables tab and use that in Create Object and Add Force (see attached screenshots).
I think you also need to tweak the alignment of the spawn point...
Also you might consider using a raycast for this type of bullet instead of a rigid body.
-
Very very much thanks Alex ;D ;D ;D ;D ;D
I love this community
Bye