#HELP

1 messages · Page 1 of 1 (latest)

icy widget
#

I want to make a mario party minigame like the one in the picture, I want the spikes to bounce off the walls of the circle.

icy widget
#

Help me 😢

slow flume
#

Velocity chip😶

real oriole
#

i think get when it has hit a wall, then invert its velocity and then add velocity

high bough
#

Use vector reflect

real oriole
high bough
icy widget
icy widget
#

😢

#

I always get stuck in my game because I never find the solution to my problems

#

Help

#

I want to make a mario party minigame like the one in the picture, I want the spikes to bounce off the walls of the circle, but i dont know how to use cv2 😢

#

MARIO PARTY MINIGAME CV2

icy widget
#

help

solid vale
#

I tried to do I similar system but it didn't worked

#

I'm also looking for help

#

On how this works

icy widget
icy widget
#

HELPPP

#

HELP

weary stirrup
#

This system is really complicated because you have to move an environmental object, apply resistance and friction

icy widget
#

Bro it's been 5 days since the publication and I still don't get a response

weary stirrup
#

@next elbow can you help with this maybe?

icy widget
#

I am using raycast and velocity reflect

#

but I don't know how to make it work

void bay
icy widget
#

What do I use?

void bay
icy widget
#

I don't know how to use cv2

#

😢

void bay
#

Yeahhh you should probably learn it first.

icy widget
#

only the basics

weary stirrup
#

It’s a very complicated system

next elbow
#

But then someone said the answer so I left the post

next elbow
weary stirrup
next elbow
weary stirrup
#

K3 W as always

next elbow
#

When I get to where I’m going

#

Or when I come back idk

#

If someone hasn’t answered by then

carmine ocean
#

what about vector variable a vector reflect and trigger volumes and the one on the spike searches for trigger volumes on the walls using equals connected to the object entered and the volumes on the walls

carmine ocean
#

ikr

crimson vessel
#

I almost fainted saying that outloud

carmine ocean
#

daym

crimson vessel
#

If you can't explain it to a 5yrld, do you really know what you're talking about?

carmine ocean
#

i do its just grammer

crimson vessel
#

@carmine ocean You're just as confused, if not more, than OP.

You need to speak to your english teacher, and pray they help you type english in such a way, you don't sound like you just did.

carmine ocean
#

i have adhd and autism

#

scentance structure is annoying and so are long words

weary stirrup
next elbow
# icy widget I want to make a mario party minigame like the one in the picture, I want the sp...

You can use the “Vector3 Reflect” chip to simulate a vector reflecting off of a surface defined by its normal.

  • Using an “Event Receiver: Update 30 Hz” chip (spawn an “Event Receiver” chip using your Makerpen menu, and using the “Configure” tool, configure its event to “Update 30 Hz”), detect when the object collides with the walls of the circle. If your circle is a physical object, you can detect when the object collides using the “Overlap Sphere” chip, with the radius input being the radius of your object. Otherwise, you can define your circle by its origin and radius and check if the distance (using the “Distance” chip) between the circle’s origin and the object’s position (using the “Get Position” chip) is greater than or equal to (using the “Greater Or Equal” chip) the circle’s radius subtracted by the object’s radius (using the “Subtract” chip). (Greater Or Equal(Distance(Circle Origin, Get Position(Object)), Subtract(Circle Radius, Object Radius))).
  • If it is colliding with the walls of the circle (using the “If” chip), set the velocity of the object to its reflection off of a plane defined by the normal of the surface it collided with. The surface normal is the normalized result of the circle’s origin subtracted by the object’s position. (Vector3 Normalize(Subtract(Circle Origin, Get Position(Object)))). To get the reflected vector, you can use the “Vector3 Reflect” chip, with the object’s velocity as the vector and the surface normal as the normal.
#

If your object is not physical, you can do the following:

  • Create a “Vector3” variable representing its velocity (I’m will refer to this variable as “Object Velocity”).
  • Using the same Event Receiver: Update 30 Hz chip that is used to detect collisions, after determining whether the object is in contact with the circle, set the position of the object (using the “Set Position” chip) to the sum of (using the “Add” chip) its current position (using the Get Position chip) and the result of its velocity (the Object Velocity Vector3 variable) scaled by DeltaTime (using the “Vector3 Scale” chip).
  • Whenever you are supposed to set the velocity of the object, set the value of the Object Velocity variable instead.
  • Whenever you are supposed to get the object’s velocity, get the value of the Object Velocity variable instead.
#

I’m noticing that there isn’t a “Vector3 Reflect” chip. To get the reflected vector, you can instead create the following circuit: (Add(Vector, Vector3 Scale(Vector3 Dot(Vector, Normal), Scalar = -2))). To input the value of -2, you may need to use a “Parse Int” chip. You can also use the “Circuit Board” chip to combine all of these circuits into a single circuit board, and you can include an input of -2 in the circuit board. Make sure to include the input Vector and Normal as inputs, and the output Vector as an output.

next elbow
weary stirrup
#

How did yall make up a chip 😭

high bough
wintry moon
#

Ok

next elbow
#

I thought I remembered seeing Vector3 Reflect in the update notes

next elbow