playMaker

Author Topic: Add force to 2d object[SOLVED]  (Read 3879 times)

bartleycollin

  • Playmaker Newbie
  • *
  • Posts: 18
Add force to 2d object[SOLVED]
« on: December 01, 2013, 06:19:40 PM »
How would I go about adding force to a 2d object? Also, I've been trying to figure it out, but how does the 2d trigger in playmaker work? Thanks!
« Last Edit: December 02, 2013, 01:15:11 AM by jeanfabre »

bartleycollin

  • Playmaker Newbie
  • *
  • Posts: 18
Re: Add force to 2d object
« Reply #1 on: December 01, 2013, 09:25:52 PM »
Anyone? I really need help on this to finish my project...

caesarhernandez

  • Playmaker Newbie
  • *
  • Posts: 30
Re: Add force to 2d object
« Reply #2 on: December 01, 2013, 09:29:17 PM »
Can't you just add a rigidbody to the "2d object" (I'm guessing you mean sprite?), then apply force as normal? (not at the computer atm)

gheeDough

  • Playmaker Newbie
  • *
  • Posts: 39
    • indie game school
Re: Add force to 2d object
« Reply #3 on: December 01, 2013, 10:16:24 PM »
Unfortunately, 'Add Force' requires a regular Rigidbody at this point - doesn't work with the new 2D Rigidbody (yet?)

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

gheeDough

  • Playmaker Newbie
  • *
  • Posts: 39
    • indie game school
Re: Add force to 2d object
« Reply #5 on: December 01, 2013, 11:17:49 PM »
Awesome, thanks! Didn't see this  :D

bartleycollin

  • Playmaker Newbie
  • *
  • Posts: 18
Re: Add force to 2d object[SOLVED]
« Reply #6 on: December 02, 2013, 09:29:24 AM »
Wow Thanks! I can finally finish this up! :)

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Re: Add force to 2d object[SOLVED]
« Reply #7 on: December 02, 2013, 10:20:25 AM »
while those two actions are useful to manipulate 2d physics object, I think it is better to just download again the 2Dphysics package from this link:

https://hutonggames.fogbugz.com/default.asp?W1150

cause it is already been updated, and it offers a lot more action to deal with 2d physics object...