I want to make a Cannon shoot a Morning Star

33 views
Skip to first unread message

Rob McElroy

unread,
Sep 7, 2017, 6:08:36 AM9/7/17
to CoSpaces Scripting
Odd question.  Student wants to shoot the cannon!

How would I attach a Morning star to a Cannon and use Block code to make it shoot?

I gave physics to the morning star and it just falls to the ground when I start the scene.

Help Please :)

Rob

Benjamin Singh

unread,
Sep 7, 2017, 8:18:32 AM9/7/17
to CoSpaces Scripting
Hi Rob,

the most simple way to shoot a morning star out of a cannon is first to place them in your scene appropriate:


Then for the morning star enable physics in the inspector and script it in Blockly. Like this for example:



Result: https://cospac.es/O2hQ


If for some reason it doesn't work in your scene, feel free to share it with us so we can have a look at it.


Benjamin


Reply all
Reply to author
Forward
0 new messages