Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 722 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 9 1 2 3 4 5 6 7 8 9
Re: some a6 physics questions #15441
04/28/03 09:20
04/28/03 09:20

A
Anonymous
Unregistered
Anonymous
Unregistered
A



quote:

Sorry - nächstes Mal kommt was sinnvolles!

Das kann ich dir jetzt doch nicht so ganz garantieren, da mich dein Problem einfach nicht los lassen will - ich aber trotzdem geistig so am Ende bin, das wahrscheinlich wieder nur totaler Mist rauskommt...
Also, der wirklich letzte Versuch!
Ich habe mir dieses Bild (Handbuch -> PH_Wheel) nochmal angeguckt. Und da ich im Moment anscheinend mehr schlafe als wach bin, faszinieren mich schöne bunte Bilder mehr als logische Gedanken... daher:
Wenn man nun also wirklich vom Bild ausgeht und sich so davon faszinieren lässt (wie ich es im Moment tue), so liegt der Anchor-Punkt ja nicht genau auf dem Rad, sondern einzelne Stangen unterteilen das ganze. Vielleicht ist das das Problem deines abgeknickten Rades:
Dein Rad hat den Anchor-Point genau in sich drinne... [Wink]

Ich seh's schon kommen: Morgen, wenn ich wieder einigermaßen geistig dabei bin - werde ich es bereuen, nicht einfach schon nach dem ersten Posting (am besten gar keins geschrieben zu haben) aufgehört zu haben! Abgesehen mal davon, dass ich morgen früh mir wieder überlegen werde, was mich davon abgehalten hat, etwa so früh ins Bett zu gehen, dass ich nicht aus Müdigkeit den Gedanken habe, so zu tun als hät ich Bauchweh oder so'wat, nur um länger schlafen zu können...

Endgültige gute Nacht,
Clemens

Re: some a6 physics questions #15442
04/28/03 15:04
04/28/03 15:04

A
Anonymous
Unregistered
Anonymous
Unregistered
A



quote:
Originally posted by ventilator:
if a physics entity stops movement completely (but is still a physics entity) it does only require very minimal or no cpu performance right?

Unless an object is disabled (see manual) it will always consume CPU time. If the object is free falling that time is negligible. If that object is colliding with other objects or the level, however, this can be costly. I used to have an auto-disable function which puts almost non-moving objects into stasis. However, there are some situation where this mechanism can be fooled (objects gliding along each other very slowly would come to an abrupt stop). Because of this I have decided to disable this feature for now, until I can think of a more reliable detection and then they will indeed not cause a performance hit. Sorry about that.

quote:
if i stack some boxes then i can notice that they jitter a little sometimes when i look very closely. how can i avoid this?
By disabling them using group masks or individual disabling.

quote:
Ich habe mir dieses Bild (Handbuch -> PH_Wheel) nochmal angeguckt. Und da ich im Moment anscheinend mehr schlafe als wach bin, faszinieren mich schöne bunte Bilder
Danke, ich habe mir viel Muehe mit den Bildern gegeben [Smile]
Der Ankerpunkt liegt dort wo sich die beiden Achsen schneiden. Die Raeder koennen einknicken, so wie es im Bild geschieht, wenn a) die Masse des Autos zu gross ist (bzw. die Gravitationskonstante), b) sich die Raeder zu schnell drehen oder c) die Spring/Damper Konstanten falsch gewaehlt sind. Ich muss mir das morgen im Buero genauer anschauen.

Es gibt ein Problem mit den Schatten, dass diese erst projiziert werden, sobald sich das Physikobjekt bewegt. Das wird z.Zt. untersucht.

Re: some a6 physics questions #15443
04/28/03 16:11
04/28/03 16:11
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
code:
<edit>newer code above!</edit>

this is my motor code... i would like to emit dust particles when the wheels slip. how could i find out if a wheel slips? should i compare the moved distance per frame with (wheel_circumference/360)*rotated_degrees and if it doesn't match it means the wheel slips?

...
thanks for the answers marco!

what do the spring/damper constants do? this isn't explained in the manual very well...

Re: some a6 physics questions #15444
04/29/03 05:44
04/29/03 05:44
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
////////////////////////////////////////////////
I am unabble to compile my script.
I have updated all the dlls and everything.

It gives error:
Code:MISSING/WRONG PARAMETER, COMMA UNEXPECTED.

action ball
{
myCrate=my;
phent_settype(myCrate,PH_RIGID,PH_SPHERE);
phent_setmass(crateMass);
}

////////////////////////////////////////////////
////////////////////////////////////////////////

Has anyone made headway on this? I'm sure it's something stupid and trivial, but I can't work around it!
I'm getting the same problem having installed and reinstalled a6. I'm working from an A5 script and according to manual, there are no templetes to include, just register and go!
Anyways, can't register my entities, can't play with the engine, boo hoo [Frown]

Re: some a6 physics questions #15445
04/29/03 06:08
04/29/03 06:08

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Dude just look few posts down

I would try to define some more stuff
//
action sphere
{

my.shadow=on;

phent_settype(my, PH_RIGID, PH_SPHERE);
phent_setmass(my, 7, PH_SPHERE);
phent_setfriction(my, 70);
phent_setelasticity(my, 50, 5);
phent_setdamping(my, 20, 20 );
}

Re: some a6 physics questions #15446
04/29/03 06:24
04/29/03 06:24

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Check the manual entry for phent_setmass, there are some parameters missing in your code.

Re: some a6 physics questions #15447
04/29/03 06:37
04/29/03 06:37
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
quote:
Originally posted by Seban:
Dude just look few posts down

I would try to define some more stuff
//
action sphere
{

my.shadow=on;

phent_settype(my, PH_RIGID, PH_SPHERE);
phent_setmass(my, 7, PH_SPHERE);
phent_setfriction(my, 70);
phent_setelasticity(my, 50, 5);
phent_setdamping(my, 20, 20 );
}

You're missing my point as you did with grey's original post. My fault as I should have posted later replies not the original. [Frown]

The error is in phent_settype. I actually cut the above ACTION and put it in, attached to an entity and all the PH code returns the same error 'wrong/missing parameter; unexpected comma" for EVERY PH function. I've tried all manner of capitalization variations and experiments and always the same error for phent_settype. The others don't matter since if I can't get the entity registered, all else will naturally fail.

Again, the error is that I can't register an entity since settype won't work.

Re: some a6 physics questions #15448
04/29/03 07:43
04/29/03 07:43

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Just to check the obvious, before we move to more complicated ideas: you do have A6 Commercial or Professional and run the sample with the A6 engine, right?

Re: some a6 physics questions #15449
04/29/03 07:49
04/29/03 07:49
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
quote:
Originally posted by Marco Grubert:
Just to check the obvious, before we move to more complicated ideas: you do have A6 Commercial or Professional and run the sample with the A6 engine, right?

Actually, It is something obvious then. I'm using the trial edition in consideration of upgrading to A6 pro edition comes in. Since trial == extra, not commercial, the physics engine isn't enabled in the trial version; Silly really considering that if I didn't already need the physics engine and I can't test it in the trial version, how do I know what I'm paying for?

Never occured to me that I would have to pay to test out the upgrade is what I'm saying; Not a good way to promote the key features of the upgrade IMO.

Anyways, thanks Marco, I'm sure that's all it is. I'm quite impressed with the promises of A6 and thus I'll get the pro upgrade tommorrow. My guess is that I won't have any problems then.
[Smile]

Re: some a6 physics questions #15450
04/29/03 08:00
04/29/03 08:00
Joined: Nov 2002
Posts: 792
Berne, Switzerland
elsewood Offline
User
elsewood  Offline
User

Joined: Nov 2002
Posts: 792
Berne, Switzerland
Make the code like that:
code:
 

entity* myCrate;
action ball
{
myCrate=my;
phent_settype(myCrate,PH_RIGID,PH_SPHERE);
phent_setmass(crateMass);
}

This DOES NOT fix phent_setmass!!, only phent_settype


A bus station is where the bus stops. A train station is where the train stops.
On my desk I have a workstation...
Page 5 of 9 1 2 3 4 5 6 7 8 9

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1