x


Having some trouble with physics when creating a Shufflepuck Cafe clone (slidding and hitting the puck on a plane)

Hello,

I'm a total newbie in both game programming and unity engine.

I'm trying to make a small remake of Shufflepuck Cafe for fun. It is a kind of a very addictive air hockey game (nostalgia - I used to play it on my Mac when I was a kid until the mouse was dead !) and I'm struggling with the puck management.

I have created a small project to test some ideas, but none is working well:
- my component are a floor, 4 walls, a puck and a racket.
While trying to solve some problems I've add a transparent roof in order to unsuccessfully contain my object

I have set Rigid body physic for every component: ice for floor, wood for the racket, bouncy or rubber for the puck...

I have add a small script that is moving my racket with the mouse.

I'm facing this kind of issues:
- racket is going over the puck instead of colliding
- when it the puck took of and start rolling in the air
- puck and racket may drop through the floor
- when racket hits puck, nothing happen

In some condition it is working (for example when pushing the puck against a wall)

My questions are: - Is there a tutorial focusing on this kind of game (pong like, breakout, ...) ?
- Does the physic engine able to manage this kind of work without coding ?
- Do I miss something very simple to achieve my goal ?

more ▼

asked Nov 02 '10 at 08:59 PM

Guillaume gravatar image

Guillaume
1 1 1 5

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2482
x1864
x291
x193
x41

asked: Nov 02 '10 at 08:59 PM

Seen: 816 times

Last Updated: Nov 04 '10 at 09:07 PM