| Blockland Forums > Modification Help |
| Finding what a vehicle hits |
| << < (3/5) > >> |
| Port:
--- Quote from: Treynolds416 on June 08, 2012, 11:38:43 PM ---The third is the velocity vector, I just said that. --- End quote --- http://docs.garagegames.com/torque-3d/reference/classShapeBaseData.html#a20b5fdadf24208cf5e7ef53d0242747c http://docs.garagegames.com/torque-3d/reference/classShapeBaseData.html#a20b5fdadf24208cf5e7ef53d0242747c http://docs.garagegames.com/torque-3d/reference/classShapeBaseData.html#a20b5fdadf24208cf5e7ef53d0242747c http://docs.garagegames.com/torque-3d/reference/classShapeBaseData.html#a20b5fdadf24208cf5e7ef53d0242747c !!!!! --- Quote from: Treynolds416 on June 08, 2012, 11:38:43 PM ---Any reason why the collided object is always 0? Any ways around it? --- End quote --- if the arguments are different than what I posted above something else is breaking (badly parenting) the function |
| Treynolds416:
--- Quote from: Port on June 08, 2012, 11:40:28 PM ---http://docs.garagegames.com/torque-3d/reference/classShapeBaseData.html#a20b5fdadf24208cf5e7ef53d0242747c http://docs.garagegames.com/torque-3d/reference/classShapeBaseData.html#a20b5fdadf24208cf5e7ef53d0242747c http://docs.garagegames.com/torque-3d/reference/classShapeBaseData.html#a20b5fdadf24208cf5e7ef53d0242747c http://docs.garagegames.com/torque-3d/reference/classShapeBaseData.html#a20b5fdadf24208cf5e7ef53d0242747c !!!!! if the arguments are different than what I posted above something else is breaking (badly parenting) the function --- End quote --- Badspot may have changed it. It's also possible that something else isn't parenting it right, but I have no idea what. Either way, I tested it extensively and at least for me it's definitely the velocity vector |
| Port:
--- Quote from: Treynolds416 on June 08, 2012, 11:44:12 PM ---Badspot may have changed it. --- End quote --- Well he didn't. --- Quote from: Treynolds416 on June 08, 2012, 11:44:12 PM ---something else isn't parenting it right --- End quote --- |
| Treynolds416:
--- Quote from: Port on June 08, 2012, 11:45:27 PM ---Well he didn't. --- End quote --- I'll look tomorrow |
| elm:
--- Quote from: Treynolds416 on June 08, 2012, 11:44:12 PM ---Badspot may have changed it. It's also possible that something else isn't parenting it right, but I have no idea what. Either way, I tested it extensively and at least for me it's definitely the velocity vector --- End quote --- Try it with a default installation of Blockland. |
| Navigation |
| Message Index |
| Next page |
| Previous page |