Browse Search Popular Register Upload Rules User list Login:
Search:
Help me for Script!

Image:
screenshot of the scene

Author: Quark Down

Group: Default

Filesize: 5.49 kB

Date added: 2021-09-29

Rating: 5

Downloads: 572

Views: 329

Comments: 12

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Please read my help letter below

As I suck at thyme script, I ask you for help with one of my projects, here is my problem:

I would like the laser to rotate in the same direction as the speed of the ball.
Thank you for understanding.
Please log in to rate this scene
edit
Similar scenes
Title: Southeast Asia 1444 (New script)
Rating: 5
Filesize: 107.43 kB
Downloads: 2453
Comments: 2
Ratings: 1
Date added: 2020/07/09 10:06:21
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: script COLLECTION
Rating: 8.25
Filesize: 1.12 MB
Downloads: 5175
Comments: 12
Ratings: 14
Date added: 2019/03/28 18:42:29
Made with: Algodoo v2.1.0
Rating: rated 8.3
download
Title: Mounted Minigun (PHUN ONLY)
Rating: 5.8889
Filesize: 57.57 kB
Downloads: 2286
Comments: 13
Ratings: 3
Date added: 2009/11/29 06:22:18
Made with: Phun
Rating: rated 5.9
download
Title: eat script demonstration
Rating: 5
Filesize: 18.04 kB
Downloads: 510
Comments: 3
Ratings: 1
Date added: 2017/09/13 21:25:09
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Ball mix
Rating: 5
Filesize: 36.32 kB
Downloads: 574
Comments: 4
Ratings: 1
Date added: 2016/02/13 03:46:10
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: gears of war lancer!!
Rating: 5
Filesize: 88.12 kB
Downloads: 600
Comments: 6
Ratings: 1
Date added: 2010/05/19 21:32:06
Made with: Phun
Rating: rated 5
download
Remove the angle script on script/post step
QD -- Deedatski is correct. When you force the circle's angle to always be 0 (zero) or any other value, it cannot rotate no matter what other things bump into it. When the circle is free to rotate, the attached laser will rotate along with it at the same rate.
Last edited at 2021/09/29 06:08:00 by Xray
What I mean is that the laser is aiming in the same direction of the bullet path.
QD - Now you're not making any sense. WHAT bullet are you talking about? All I see is a circle and a laser. :huh:

Look man.... If you want help from people you have to give us clear, concise, and accurate details. We cannot help you when you say things that don't make sense.
Quark Down - Maybe put "followGeometry = false" on script?
Quark Down - The "followGeometry = false" on laser is Working when i was
testing out
XR. What I mean is that when the two-dimensional circle goes in one direction, example: "The circle is heading Northwest, or heading South" which means when the circle is heading "North "or towards its future trajectory, the laser is also pointed" towards the north "or towards the future trajectory of the circle.:rolleyes:
Okay, now I think I understand what you want. Just to confirm, you want the laser to point in the same direction that the circle will move in after it collides with an object. Is that right?
Yes
I'll need a little time to figure out how to do that because it's not real simple. It may take me a couple of days. I'll have to put my brain into "math mode" which sometimes causes headaches! lol
Yes ahah thank you in advance Xray!
I got it working faster than I thought I would! It's the response scene to this one and it is titled "For Quark Down".

By the way, you can separate the laser from the circle if you want to and it will still point in the direction that the circle moves after colliding with another object.
Last edited at 2021/10/01 04:33:31 by Xray